Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

OpenCL error CL_DEVICE_NOT_AVAILABLE Ubuntu 13.04, Intel Core 2 Duo SU7300

$
0
0

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. 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>