Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,268 Views

OpenCL does not find Joule's GPU

Hi,

I tried several OpenCL sample programs and none of them found the GPU on my Joule module. I am running an Ubuntu Linux distribution and I installed the Intel SDK which I use to compile those samples. They all find the CPU but not the GPU. This is just the result of one of them (I got it from a GitHub post about installing the OpenCL SDK for Linux: https://gist.github.com/rmcgibbo/6314452 https://gist.github.com/rmcgibbo/6314452) but they all gave me the same output (only one device, the CPU).

clDeviceQuery Starting...

1 OpenCL Platforms found

CL_PLATFORM_NAME: Experimental OpenCL 2.1 CPU Only Platform

 

CL_PLATFORM_VERSION: OpenCL 2.1 LINUX

 

OpenCL Device Info:

1 devices found supporting OpenCL on: Experimental OpenCL 2.1 CPU Only Platform

Device Intel(R) Atom(TM) Processor T5700 @ 1.70GHz

CL_DEVICE_NAME: Intel(R) Atom(TM) Processor T5700 @ 1.70GHz

 

CL_DEVICE_VENDOR: Intel(R) Corporation

 

CL_DRIVER_VERSION: 1.2.0.18

 

CL_DEVICE_TYPE: CL_DEVICE_TYPE_CPU

 

CL_DEVICE_MAX_COMPUTE_UNITS: 4

 

CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3

 

CL_DEVICE_MAX_WORK_ITEM_SIZES: 8192 / 8192 / 8192

 

CL_DEVICE_MAX_WORK_GROUP_SIZE: 8192

 

CL_DEVICE_MAX_CLOCK_FREQUENCY: 1700 MHz

 

CL_DEVICE_ADDRESS_BITS: 64

 

CL_DEVICE_MAX_MEM_ALLOC_SIZE: 958 MByte

 

CL_DEVICE_GLOBAL_MEM_SIZE: 3833 MByte

 

CL_DEVICE_ERROR_CORRECTION_SUPPORT: no

 

CL_DEVICE_LOCAL_MEM_TYPE: global

 

CL_DEVICE_LOCAL_MEM_SIZE: 32 KByte

 

CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 128 KByte

 

CL_DEVICE_QUEUE_PROPERTIES: CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE

 

CL_DEVICE_QUEUE_PROPERTIES: CL_QUEUE_PROFILING_ENABLE

 

CL_DEVICE_IMAGE_SUPPORT: 1

 

CL_DEVICE_MAX_READ_IMAGE_ARGS: 480

 

CL_DEVICE_MAX_WRITE_IMAGE_ARGS: 480

CL_DEVICE_IMAGE 2D_MAX_WIDTH 16384

 

2D_MAX_HEIGHT 16384

 

3D_MAX_WIDTH 2048

 

3D_MAX_HEIGHT 2048

 

3D_MAX_DEPTH 2048

 

CL_DEVICE_PREFERRED_VECTOR_WIDTH_ CHAR 1, SHORT 1, INT 1, FLOAT 1, DOUBLE 1

clDeviceQuery, Platform Name = Experimental OpenCL 2.1 CPU Only Platform, Platform Version = OpenCL 2.1 LINUX, NumDevs = 1, Device = Intel(R) Atom(TM) Processor T5700 @ 1.70GHz

System Info:

Local Time/Date = 09:12:08, 11/15/2016

 

CPU Name: Intel(R) Atom(TM) Processor T5700 @ 1.70GHz

# of CPU processors: 4

Linux version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) ) # 68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016

TEST PASSED

Why did it not find the GPU? Thanks a lot!

Tags (1)
0 Kudos
8 Replies
Highlighted
Community Manager
23 Views

Hi Javiwolf,

 

 

Thanks for your interest in the Intel Joule Platform.

 

 

It is strange that is not detecting the GPU of the Joule. Let me do some tests and I will get back to you as soon as I have some useful information.

 

 

Have a nice day.

 

 

 

Best Regards,

 

-Jose.
0 Kudos
Highlighted
Beginner
23 Views

Thanks a lot for your quick reply.

I am having a look at the resulsts I posted here and the first line indicates something about an " OpenCL 2.1 CPU only platform" so I wonder if the problem is that the SDK I downloaded (which is the one available for Ubuntu on the downloads centre and its name is intel_sdk_for_opencl_2016_ubuntu_6.3.0.1904_x64.tgz) does not support GPUs. If so, how could I solve that problem? I might need an older version that supports GPUs... but I am just wondering if that might be the actual problem.

 

Regards,

 

Javiwolf
0 Kudos
Highlighted
Community Manager
23 Views

Hi Javiwolf,

I try to install OpenCL using the guide you provided (https://gist.github.com/rmcgibbo/6314452 Installing Intel CPU OpenCL on Ubuntu 12.04 · GitHub ). Unfortunately I'm getting errors due to the clDeviceQuery.cpp, I think it is because I have Ubuntu 14.04 and not 12.04. So I have a couple of questions:

1) Which version of Ubuntu are you using?

 

2) Did you do something else besides the steps indicated in the guide?

I will be waiting for your reply, have a nice day.

Best Regards,

 

-Jose.
0 Kudos
Highlighted
Beginner
23 Views

Hello again,

I tried to install the Intel SDK following the steps from that guide but as I did not know the exact version of OpenCL I have (I guess it is written somewhere but I do not know where, the file name does not mach with a possible OpenCL version, does it?), I did not achieve it so I looked for other ways to install it. In the end it was much easier: there is a file provided to install everything in the same package: install.sh. I just runned it and everything got properly installed.

By the way, I am running Ubuntu 16.04 LTS on the Joule module I mentioned before (the 570x version).

0 Kudos
Highlighted
Community Manager
23 Views

Hi Javiwolf,

After investigating I learned that the Ubuntu image is out of the scope of our support. I know this is not the answer you were expecting, but maybe this is the reason why is not detecting the GPU in your Joule. Nevertheless I encourage you to reach the Ubuntu community (https://developer.ubuntu.com/en/snappy/start/intel-joule/ Intel Joule | Ubuntu developer portal ) they might have a suggestion in order to fix your issue.

 

 

Best Regards,

 

-Jose.
0 Kudos
Highlighted
Novice
23 Views

Javiwolf--

Looks like you got it to recognize OpenCL, great! Could you specify which file you downloaded which contained `install.sh`? Was it http://software.intel.com/en-us/vcsource/tools/opencl-sdk-xe Intel® SDK for OpenCL™ Applications | Intel® Software ? And were there any other steps you followed, e.g. the steps in the guide, or was it just using `install.sh` and then everything automatically self-configured?

0 Kudos
Highlighted
Beginner
23 Views

Hello,

What kind of OS do you support for Intel Joule? Because there is Ubuntu image in the list of supported OS on the main page of Intel Joule.

https://software.intel.com/en-us/iot/hardware/joule The Intel® Joule™ Compute Module | Intel® Software

Also Javiwolf did you resolve the problem?

Alexander

0 Kudos
Highlighted
Community Manager
23 Views

 

Hi AlexanderKomarovV,

 

 

In this page it states that Ubuntu is available for the Intel Joule, the scooped of our support is limited to the Ostro image. If you have any issues with Ubuntu I will encourage you to contact them on their website: https://developer.ubuntu.com/en/community/ https://developer.ubuntu.com/en/community/ .

 

 

Have a nice day!

 

 

Best Regards,

 

-Jose.

 

0 Kudos