Trouble compiling GPU SDK


I am trying to compile and run the examples in the GPU SDK but when I type make I get the following error:

nvcc fatal : Unsupported gpu architecture ‘compute_30’
make: *** [obj/x86_64/release/] Error 255

I’m not sure what to do so any help is greatly appreciated.

You need to use the 4.2 toolkit to compile for SM30.