Open sdivens opened 1 year ago
I had the same problem when building the projects with vs2022 and CUDA 12.3. I found that the path of include parameter has wrong slash. In my case, it is
-I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\/include"
I'm not good at VS and cpp, so I don't know how to change this options while VS build the project. If you have solved the problem, can you tell me how to do it?
I got a compilation error when building bandwidthTest_vs2022.sln in 1_Utilities using vs studio 2022. The nvcc -V output in cmd.exe is:
os: win10 22H2 19045.3324
The exception shown in vs studio is:
But when I execute the command in cmd.exe, there is no output at all until execution ends.
I have also tried cleaning and rebuilding the solution, as well as deleting temporary files, but the error persists. Please let me know if any other information is needed to diagnose the problem.