Open ax3l opened 4 months ago
In CMake 3.24, the native flag was introduced for CUDA_ARCHITECTURES, which is what we currently do in our old logic. https://cmake.org/cmake/help/latest/prop_tgt/CUDA_ARCHITECTURES.html
native
CUDA_ARCHITECTURES
Transitioning is now possible (CMake is at 3.29) and we can then drop cmake_policy(SET CMP0104 OLD) that we used for the transition period. https://github.com/AMReX-Codes/amrex/blob/24.05/CMakeLists.txt#L19-L27
cmake_policy(SET CMP0104 OLD)
In CMake 3.24, the
native
flag was introduced forCUDA_ARCHITECTURES
, which is what we currently do in our old logic. https://cmake.org/cmake/help/latest/prop_tgt/CUDA_ARCHITECTURES.htmlTransitioning is now possible (CMake is at 3.29) and we can then drop
cmake_policy(SET CMP0104 OLD)
that we used for the transition period. https://github.com/AMReX-Codes/amrex/blob/24.05/CMakeLists.txt#L19-L27