Skip to content

query memory clock rate via cudaDeviceGetAttribute - #12

Merged
DanielMSussman merged 1 commit into
sussmanLab:masterfrom
alejandro-soto-franco:fix/cudadeviceprop-memory-clock-rate
Sep 4, 2026
Merged

query memory clock rate via cudaDeviceGetAttribute#12
DanielMSussman merged 1 commit into
sussmanLab:masterfrom
alejandro-soto-franco:fix/cudadeviceprop-memory-clock-rate

Conversation

@alejandro-soto-franco

Copy link
Copy Markdown
Contributor

chooseGPU() reads cudaDeviceProp::memoryClockRate, which CUDA 13 removed from the struct, so a CUDA-enabled build fails on that toolkit with "no member named 'memoryClockRate'". This queries the same value with cudaDeviceGetAttribute(cudaDevAttrMemoryClockRate, ...).

@DanielMSussman
DanielMSussman merged commit 05cfa9b into sussmanLab:master Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants