You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
The overloads of NATIVE, ALL, and "" for CMAKE_CUDA_ARCHITECTURES have resulted in confusion with the CMake 3.24+ feature of offering native, all, all-major.
robertmaynard
changed the title
[FEA] Revamp rapids-cmake handling of CMAKE_CUDA_ARCHITECTURE magic values
[Meta] Revamp rapids-cmake handling of CMAKE_CUDA_ARCHITECTURE magic values
Dec 1, 2022
robertmaynard
changed the title
[Meta] Revamp rapids-cmake handling of CMAKE_CUDA_ARCHITECTURE magic values
[EPIC] Revamp rapids-cmake handling of CMAKE_CUDA_ARCHITECTURE magic values
Dec 1, 2022
CMake 3.23+ now offers support for `all` and `all-major` as special keywords to `CMAKE_CUDA_ARCHITECTURES`. This means that rapids-cmake overload on `ALL` now creates confusion and breaks expectations ( trxcllnt/rapids-compose#84https://gitlab.kitware.com/cmake/cmake/-/issues/23739, #104 )
This PR introduces the new magic keyword of `RAPIDS` which behaves the same as `ALL`, and will become the new apporved approach for projects that want to build for RAPIDS supported platforms.
Fixes#314
More details on the plans of deprecation for `ALL` can be found at: #318
Authors:
- Robert Maynard (https://github.com/robertmaynard)
Approvers:
- Bradley Dice (https://github.com/bdice)
URL: #327
Issue
The overloads of
NATIVE
,ALL
, and""
for CMAKE_CUDA_ARCHITECTURES have resulted in confusion with the CMake 3.24+ feature of offeringnative
,all
,all-major
.#318 (comment)
The text was updated successfully, but these errors were encountered: