Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Use default rapids-cmake CUDA_ARCHITECTURES #140

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

trxcllnt
Copy link
Contributor

CMake initializes CMAKE_CUDA_ARCHITECTURES from the CUDAARCHS environment variable.

Defaulting CMAKE_CUDA_ARCHITECTURES to a fixed list of archs prevents CMake from initializing the value from the envvar.

This PR skips setting CMAKE_CUDA_ARCHITECTURES, and instead uses rapids-cmake default behavior of initializing from the CUDAARCHS envvar and falling back to the same default archs list as is currently used in build.sh.

@trxcllnt trxcllnt added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Feb 27, 2024
@bdice
Copy link
Contributor

bdice commented Mar 4, 2024

/merge

@rapids-bot rapids-bot bot merged commit 0f54f73 into rapidsai:branch-24.04 Mar 4, 2024
52 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants