When I compile with nvcc, I want to use gcc -o to compile the CPU code rather than gcc, how could I do that?
Thanks!
Shuai
When I compile with nvcc, I want to use gcc -o to compile the CPU code rather than gcc, how could I do that?
Thanks!
Shuai
The NVCC manual talks about passing options to host compiler – “C:\CUDA\DOC” - the toolkit doc directory - has the manual.
See the “-Xcompiler” option. I think that is what you need