Increase required version to 3.18 and set the cmake policy CMPI0104 to NEW. Therefore the CMAKE_CUDA_ARCHITECTURES needs to be set.