icicle
icicle copied to clipboard
Allow overriding compiler's chosen GPU arch via cmake
Describe the changes
This PR modifies icicle/cmake/Common.cmake to set CMAKE_CUDA_ARCHITECTURES to ${CUDA_ARCH} if the user defines the arch, to set CMAKE_CUDA_ARCHITECTURES to native if the cmake version is greater than or equal to 3.24.0. This change has been successfully tested with cmake 3.22.0 and 3.25.2.
Linked Issues
Resolves #167.