Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.4 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.4 KB

cudaVStemplate

Visual Studio2022 cuda11.6 win10

"CUDA compiler identification source file "CMakeCUDACompilerId.cu" missing"

CMake project under Visual Studio 2022 windows10 hits this.

The main issue is IDE.

Visual Studio 2022 support CUDA 11.6 above.

Check here

https://forums.developer.nvidia.com/t/visual-studio-2022-cuda-toolkit-support/197578 https://forums.developer.nvidia.com/t/visual-studio-2022-cuda-toolkit-support/197578 https://docs.nvidia.com/cuda/archive/11.5.2/cuda-installation-guide-microsoft-windows/index.html https://developer.nvidia.com/cuda-toolkit-archive

None of these are solutions, so I post this.

NVlabs/instant-ngp#126

NVlabs/instant-ngp#923

https://blog.csdn.net/qq_26157437/article/details/129834852

cuda

How to fly

Simpily open the cudaVStemplate folder with Visual Studio, this project use CMake not .sln.

Make sure the correspondent Cuda version in the CMakeLists.txt. (>=11.6)

Hit compile the solution button.

basic_vector.cu uses header only Cuda library thrust to make sure the environment works.

step

step2