I installed Snow Leopard on my laptop yesterday. I was very curious about OpenCL and installed the drivers and the GPU Computing SDK from NVIDIA.
I searched my hard disk after installation and found the following directory: /Developer/GPU Computing/OpenCL
. Looks promising.
In the subdirectory src/oclDeviceQuery
I found a basic test and I tried to compile it.
I googled for “-loclUtils”? I found nothing. “liboclUtils”? Nothing. So i found a brand new problem that is not known to mankind. Hurray. ;-)
But i remembered a similiar situation when i used the CUDA-SDK. So i searched the other directories. The solution is to create the library manually.
So -loclUtil
should now be found. And i tried to compile again.
Aha, there’s another library missing. I tried the one in /Developer/GPU Computing/shared
.
Back into the directory with the device query sources.
The compilation succeeds, but where’s the executable? It is not in the current directory.
I searched the directories again and its in a bin
subfolder of /Developer/GPU Computing/OpenCL
That’s it. OpenCL runs on my laptop. Yeah. :-)