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.
1719 Discussions

OpenCL error CL_DEVICE_NOT_AVAILABLE Ubuntu 13.04, Intel Core 2 Duo SU7300

NM_1
Beginner
620 Views

I am having difficulty running OpenCL applications on the CPU of my Lenovo Thinkpad X200si laptop (Ubuntu 13.04). OpenCL programs compile normally, I can find my CPU as a device, but I cannot create a context. The error is CL_DEVICE_NOT_AVAILABLE. I would like some suggestions on how to diagnose and solve the problem.

Machine info Thinkpad X200si
* CPU: Intel Core 2 Duo SU7300 / 1.3 GHz Ultra Low Voltage (ULV) ( Dual-Core )
* Graphics: (AFAIK this hardware is not supported) Intel GMA 4500MHD Dynamic Video Memory Technology 5.0 

I have installed the latest packages from http://software.intel.com/en-us/vcsource/tools/opencl-sdk
Specifically: opencl-1.2-intel-cpu-.x86_64.rpm converted by alien to opencl-1.2-intel-cpu_3.0.67279-2_amd64.deb

When I compile and run the "Platform/Device Capabilities Viewer" sample application from 
http://software.intel.com/en-us/vcsource/samples/caps-basic/ ;
The first information printed is 
Platform names:
[0] Intel(R) OpenCL [Selected]

Number of devices available for each type:
CL_DEVICE_TYPE_CPU: 1
CL_DEVICE_TYPE_GPU: 0
CL_DEVICE_TYPE_ACCELERATOR: 0

*** Detailed information for each device ***

CL_DEVICE_TYPE_CPU[0]
CL_DEVICE_NAME: Genuine Intel(R) CPU U7300 @ 1.30GHz
CL_DEVICE_AVAILABLE: 1
CL_DEVICE_VENDOR: Intel(R) Corporation
CL_DEVICE_PROFILE: FULL_PROFILE
CL_DEVICE_VERSION: OpenCL 1.2 (Build 67279)
CL_DRIVER_VERSION: 1.2
CL_DEVICE_OPENCL_C_VERSION: OpenCL C 1.2
CL_DEVICE_MAX_COMPUTE_UNITS: 2
CL_DEVICE_MAX_CLOCK_FREQUENCY: 1300
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
CL_DEVICE_ADDRESS_BITS: 64
<snip>

However when running the Monte Carlo Method for Stock Option Pricing (likewise any OpenCL application that creates a context) 
 http://software.intel.com/en-us/vcsource/samples/monte-carlo/
I get the following error  

Platforms (1):
[0] Intel(R) OpenCL [Selected]
Devices (1):
[0] Genuine Intel(R) CPU U7300 @ 1.30GHz [Selected]
[ ERROR ] OpenCL error CL_DEVICE_NOT_AVAILABLE happened in file ../common/oclobject.cpp at line 322.

Any suggestions for what might be the problem, or further tests to diagnose it would be very welcome. 

0 Kudos
1 Reply
Raghupathi_M_Intel
620 Views

Unfortunately Intel Core 2 Duo SU7300 is not supported. For a list of supported processors please see the release notes of the product you are trying to install.

0 Kudos
Reply