I wrote this simple code Cuda in Notepad:
global void add1( double * pi, double c )
*pi += c;
then I run it on command line in the current directory: nvcc test.cu
I received error with a lot of line “error : unrecognized token”
I don’t know what is it and how to fix it. Please help me!
I use Cuda 5.0, GPU 720M with Cuda-capable 2.0