Jaakko, you'll need to pass gcc the path to the openCL headers.
Try with the following command (which works here): gcc opencltest.c -o opencltest -I/usr/include/nvidia-current/
Even if I moved the headers into /usr/include/CL you would still have to pass "-I/usr/include/CL" to gcc.
Jaakko, you'll need to pass gcc the path to the openCL headers.
Try with the following command (which works here): include/ nvidia- current/
gcc opencltest.c -o opencltest -I/usr/
Even if I moved the headers into /usr/include/CL you would still have to pass "-I/usr/include/CL" to gcc.