I was able to follow the instructions and compiled CUDA 3.0, but canβt compile OpenCL, which comes with it on Mac OS X 10.6.3?
I believe that nVidia under OpenCL offers you to use only the Apple drivers that it provides by default. To compile an OpenCL program through gcc on OS X, you simply use:
gcc -o foo foo.c -framework OpenCL
Take a look at clBuildProgram at http://www.khronos.org/files/opencl-quick-reference-card.pdf . I believe that the program should be compiled for each video card with which you would like to target, like every processor architecture.
clBuildProgram