I am having trouble getting opencl up and running. I am trying to install it on my ubuntu 10.4 box with an ati mobility hd4570 card.
So far i have tried to follow the steps in http://developer.amd.com/gpu/ATIStreamSDK/assets/ATI_Stream_SDK_Installation_Notes.pdf
also found from this forum i believe that you need to register the icd from this post: http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=129154
i do that, go to the samples folder and hit make, then go to the bin and try hellocl and get the error in the above post.
Anyone have any idea what else i need to be doing to get it working?
Of note, when i run findnumdevices i get a 1, presumably the cpu, so i also dont know if i have the right driver installed
try install my package for ubuntu.
Chocrates,
ICD registration is different for SDK 2.01 and SDK 2.1. Did you do it the correct way?
I'm not sure if i did the correct icd version, i think its in /usr/lib/OpenCL/vendor/
but ill check when i get back to my laptop.
I also tried your ubuntu package to no avail.
no now it is file in /etc/OpenCL/vendors
hm it can not download? strange. try it download again.
alright, it turns out that your package worked as intended, i just had $LD_LIBRARY set to something wierd, changed it to /etc/OpenCL/vendors and HelloCL compiles and runs. Findnumdevices still gives me 1, but i really have no idea what its supposed to do so i will start writing some code and see if i have it working how i want it.
Thanks!
FindNumDevices returns the number of GPU's present. It is working as expected.