I want to do a question about compiling with nvcc.
What options must be use for compiling of a simple code?
I use nvcc -o exe a.c but i take errors which must not exists.
Thanks
Kostas
I want to do a question about compiling with nvcc.
What options must be use for compiling of a simple code?
I use nvcc -o exe a.c but i take errors which must not exists.
Thanks
Kostas
CUDA programs need to have the extension [font=“Courier New”].cu[/font]. This is how nvcc determines the compilation trajectory. If you use any other extension for CUDA code, nvcc needs to be called with [font=“Courier New”]–x=cu[/font] to compile as CUDA code.
I want to read a compete description of nvcc compiling on linux. any suggestions ? Thanks in advance …
[font=“Courier New”]nvcc --help[/font]?