icicle icon indicating copy to clipboard operation
icicle copied to clipboard

Allow overriding compiler's chosen GPU arch via cmake

Open liuhao230 opened this issue 9 months ago • 0 comments

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.

liuhao230 avatar May 16 '24 03:05 liuhao230