The ‘cutil.h’ header file as you noted can be found in Developer/GPU Computing/C/common/inc/.
More than likely the problems you are running into is either the space in the path or having the path be relative to the $HOME value. To be sure, I would use an absolute path such as /Developer/GPU\ Computing/C/common/inc/ (If the SDK is in the standard install location).
Also, the cutil ‘library’ is found in GPU Computing/C/lib/. You will need to add this library (depending on your system it may be cutil_i386) and the lib directory to the nvcc command.
For instance, to get the deviceQuery code from the GPU Computing SDK to compile I would need to use the following nvcc command line.
The ‘cutil.h’ header file as you noted can be found in Developer/GPU Computing/C/common/inc/.
More than likely the problems you are running into is either the space in the path or having the path be relative to the $HOME value. To be sure, I would use an absolute path such as /Developer/GPU\ Computing/C/common/inc/ (If the SDK is in the standard install location).
Also, the cutil ‘library’ is found in GPU Computing/C/lib/. You will need to add this library (depending on your system it may be cutil_i386) and the lib directory to the nvcc command.
For instance, to get the deviceQuery code from the GPU Computing SDK to compile I would need to use the following nvcc command line.