Skip to content

Conversation

@psychocoderHPC
Copy link
Member

fix #5548

The niterface to get the compute mode of a GPU has changed with CUDA 13, see https://developer.nvidia.com/blog/whats-new-and-important-in-cuda-toolkit-13-0/#changes_to_cudadeviceprop

For CUDA we use now cudaDeviceGetAttribute() to querry the compute mode, this method is already available in older CUDA versions, therefore no version guards are required.

fix ComputationalRadiationPhysics#5548

The niterface to get the compute mode of a GPU has changed with CUDA 13,
see https://developer.nvidia.com/blog/whats-new-and-important-in-cuda-toolkit-13-0/#changes_to_cudadeviceprop

For CUDA we use now `cudaDeviceGetAttribute()` to querry the compute
mode, this method is already available in older CUDA versions, therefore
no version guards are required.
@psychocoderHPC psychocoderHPC added this to the 0.9.0 / next stable milestone Nov 20, 2025
@psychocoderHPC psychocoderHPC added bug a bug in the project's code component: PMacc in PMacc labels Nov 20, 2025
@ikbuibui ikbuibui merged commit dca8839 into ComputationalRadiationPhysics:dev Nov 21, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug a bug in the project's code component: PMacc in PMacc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compilation error with cuda 13

2 participants