OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1722 Discussions

Ubuntu 12.10 + OpenCL = clGetPlatformIDs fails

J_M_
Beginner
498 Views

Hi,

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? :-)

Thanks!

0 Kudos
0 Replies
Reply