SinceCMake 3.18, CMake supports specifying the target CUDA architectures for CUDA targets via a standard cache variable, CMAKE_CUDA_ARCHITECTURES. SinceCMake 3.20, CMake supports specifying the target CUDA architectures for CUDA targets via the CUDAARCHS environment variable. In fact, theNVCC itself...