Skip to content

respect a user-supplied CMAKE_CUDA_ARCHITECTURES - #10

Merged
DanielMSussman merged 1 commit into
sussmanLab:masterfrom
alejandro-soto-franco:fix/cuda-architectures-user-override
Sep 4, 2026
Merged

respect a user-supplied CMAKE_CUDA_ARCHITECTURES#10
DanielMSussman merged 1 commit into
sussmanLab:masterfrom
alejandro-soto-franco:fix/cuda-architectures-user-override

Conversation

@alejandro-soto-franco

Copy link
Copy Markdown
Contributor

CMakeLists.txt sets CMAKE_CUDA_ARCHITECTURES with a plain set() inside the CUDA branch, which shadows any value passed on the command line, so building for a GPU newer than 50/52/70 currently needs an edit to CMakeLists.txt. This applies the hardcoded list only when the caller has not already set one.

@DanielMSussman
DanielMSussman merged commit 896bedd 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