Open
Description
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
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