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.

Why my CPU Intel does not show as available?

Alexandre_D_3
Beginner
491 Views

 

Hello to all,  first time I am posting something here, I installed the SDK OpenCL intel.
A simple question, I have a GPU AMD and Intel (R) Core (TM) i5-5200U CPU, I wanted to know why, when I run the code "CapsBasic" only appears as an option the AMD GPU device. It was to show the CPU intel device also , or I need to install any drivers? 

 I installed the Intel SDK for OpenCL Applications ™ 2016 R2.  Using linux. I think the CPU driver version is: 1729.3 (SSE2, AVX)

 

I thank you all for your understanding

0 Kudos
2 Replies
Jeffrey_M_Intel1
Employee
491 Views

Since you have multiple GPUs, the first thing to test is if the Intel GPU is visible to your system.  You can do this with lspci.  There is a wrapper for this check in the system analyzer: https://software.intel.com/en-us/articles/mss-sys-analyzer-linux

You will need to install a driver package in addition to the SDK package.  There are two ways to get one:

From a Media Server Studio Generic install:

(Or you could use the Gold OS, CentOS 7.2, which has a more automated install which only requires updating the i915 module instead of recompiling the entire kernel.)

From the standalone OpenCL 2.0 driver package

0 Kudos
Tamer_Assad
Innovator
491 Views

Hi Alexandre,

 

First, make sure you are referencing Intel CL (headers and libs), not AMD's

then, you might want to try calling "clGetDeviceIDs()" and pass "CL_DEVICE_TYPE_CPU" to the "cl_device_type" paramter.

 

Best regards,

Tamer

0 Kudos
Reply