Reputation: 559
I keep getting:
nvcc fatal : Value 'sm_20' is not defined for option 'gpu-name'
My GPU is a GTX 590 and is indeed version 2.0 so that's not the problem. I switched to a lower version (sm_20) and get tons of errors with .h files.
Any ideas on what to try? I'm using cuda 5.0.
Upvotes: 0
Views: 813
Reputation: 1730
You could try compute_20
instead of sm_20
.
Looking at the nvcc documentation in CUDA 5.0, the --gpu-name
command line option is not mentioned. I guess it is an old option and you should probably instead use the -arch
and/or -code
options.
Upvotes: 1