I'm a beginner in GPU programming. I'm studying cuda through Visual Studio 2019.
When i build some cuda program, does Visual Studio use 'nvcc' to compile? Or Visual Studio has its own cuda compiler and use it?
It may be a little sloppy because it's my first question. Thank you.
CodePudding user response:
Yes, visual studio will use nvcc
to compile files that end in .cu
.
You can verify this by looking at the visual studio console output when you build a CUDA sample project like vectorAdd
. If you don't see it, turn the visual studio verbosity up.