OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
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.
1720 Discussions

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/ /usr/lib/
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/ /usr/lib/
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/ /usr/lib/
sudo ln -sv /opt/intel/opencl-1.2-3.0.56860/lib64/ /usr/lib/
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, but this seems a little different from my situation as I can't seem to find any 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? :-)


0 Kudos
0 Replies