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.

CL_DEVICE_NOT_AVAILABLE

nick_n_1
Beginner
226 Views

Hi,

I am followed installation instructions for Opencl SDK and when i click device info an error occures CL_DEVICE_NOT_AVAILABLE -2. And when i check in visual studio supported devices in "platform info", VS stops work.

OpenCL 2016 R3, CPU Intel Dual Core E5300.

How i can fix this error?

Thanks, Nick

0 Kudos
3 Replies
Jeffrey_M_Intel1
Employee
226 Views

Did you install the CPU runtime implementation too?   This is needed in addition to the SDK.   More info here:

OpenCL™ Runtime for Intel® Core™ and Intel® Xeon® Processors

 

nick_n_1
Beginner
226 Views

Yes, I installed opencl_runtime_16.1.1 64 bit & 32 bit. 

Jeffrey_M_Intel1
Employee
226 Views

So far I have not been able to replicate this behavior.  Could you send some more details?

  • Can you compile and run OpenCL programs on your system?  Do you see other problems beyond the tools/IDE integration?  
  • Which version of Visual Studio are you using?
  • On which version of Windows?

 

Reply