Skip to content

YuehChuan/cudaVStemplate

Repository files navigation

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

About

Visual Studio2022 cuda11.6 win10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published