Ubuntu 12.10 + OpenCL = clGetPlatformIDs fails

Ubuntu 12.10 + OpenCL = clGetPlatformIDs fails


I installed the Intel OpenCL SDK as follows:

tar -xzvf intel_sdk_for_ocl_applications_2013_xe_beta_sdk_3.0.56860_x64.tgz
cd intel_sdk_for_ocl_applications_2013_xe_beta_sdk_3.0.56860_x64/
fakeroot alien --to-deb *.rpm
sudo dpkg -i *.deb
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/include/CL/ /usr/include/CL
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/libOpenCL.so /usr/lib/libOpenCL.so
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/libOpenCL.so.1 /usr/lib/libOpenCL.so.1
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/libOpenCL.so.1.1 /usr/lib/libOpenCL.so.1.1
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/libOpenCL.so.1.2 /usr/lib/libOpenCL.so.1.2
sudo ldconfig

Now I am trying to sun some sample code, but I am not able to find any platforms or devices. I see another user had a similar issue in http://software.intel.com/en-us/forums/topic/391141, but this seems a little different from my situation as I can't seem to find any compilervars.sh file.

I am using Ubuntu 12.10 on an Asus Zenbook Prime UX31A (Intel(R) Core(TM) i5-3317U CPU with Intel HD Graphics 4000). As I understand it, the HD 4000 is not supported, that's okay, I just would like to try it out on my CPU and move to another platform for production.

Can you please advice how I can make it work? :-)


1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.