- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After installing "SDK for OpenCL Applications Package" and "Driver and library(runtime) packages" into my CentOS 7 according to the page
https://software.intel.com/en-us/articles/opencl-drivers# latest_linux_driver OpenCL™ Drivers and Runtimes for Intel® Architecture | Intel® Software,
I am testing the driver and SDK.
Actually, I could run a sample "CapsBasic.cpp" obtained at
https://software.intel.com/en-us/articles/caps-basic OpenCL™ Platform/Device Capabilities Viewer Sample | Intel® Software.
However, the following output shows that GPU is NOT used but CPU is used:
Number of available platforms: 1
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: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
CL_DEVICE_AVAILABLE: 1
CL_DEVICE_VENDOR: Intel(R) Corporation
CL_DEVICE_PROFILE: FULL_PROFILE
CL_DEVICE_VERSION: OpenCL 2.0 (Build 330)
CL_DRIVER_VERSION: 1.2.0.330
CL_DEVICE_OPENCL_C_VERSION: OpenCL C 2.0
CL_DEVICE_MAX_COMPUTE_UNITS: 4
CL_DEVICE_MAX_CLOCK_FREQUENCY: 2600
CL_DEVICE_MAX_WORK_GROUP_SIZE: 8192
CL_DEVICE_ADDRESS_BITS: 64
CL_DEVICE_MEM_BASE_ADDR_ALIGN: 1024
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 4174946304
CL_DEVICE_GLOBAL_MEM_SIZE: 16699785216
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 131072
CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: 262144
CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 64
CL_DEVICE_LOCAL_MEM_SIZE: 32768
CL_DEVICE_PROFILING_TIMER_RESOLUTION: 1
CL_DEVICE_IMAGE_SUPPORT: 1
CL_DEVICE_ERROR_CORRECTION_SUPPORT: 0
CL_DEVICE_HOST_UNIFIED_MEMORY: 1
CL_DEVICE_EXTENSIONS: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer
CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_INT: 8
CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG: 4
CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT: 8
CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE: 4
How can I enable the GPU, i.e. Intel HD 5600? What I would like to do is to program my Intel HD5600 (as well as CPU cores) with OpenCL. I do not care about the version of the OpenCL; even 1.2 is okay.
The details of my computer is shown as follows:
% grep -m1 name /proc/cpuinfo
model name : Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
The above processor is included in the 5th generation Core arch.
% uname -a
Linux localhost.localdomain 4.7.0.intel.r3.1 # 1 SMP Sat Dec 3 23:30:56 JST 2016 x86_64 x86_64 x86_64 GNU/Linux
The above kernel was created according to the installation instruction linked at "OpenCL™ 2.0 GPU/CPU driver package for Linux* (64-bit)" in the pagehttps://software.intel.com/en-us/articles/opencl-drivers OpenCL™ Drivers and Runtimes for Intel® Architecture | Intel® Software. I note that, to recognize the kernel by the boot loader (grub), it was necessary to set "Legacy Boot" instead of "Secure Boot" in the BIOS setup.
Let me know if any other information is necessary.
Best regards,
Toru Takahashi
Message was edited by: Toru Takahashi I have fixed some typos and alignments.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This question has not been resolved yet, but I changed the status to "Assumed Answered" by mistake. The status cannot be modified anymore. (The way to fix the status is another question...) I am still waiting for your comments. Thank you.
Toru Takahashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Toru_Takahashi:
Let me apologize for any inconvenience, in regard to your inquiry I just wanted to let you know that the support we provide is for Windows, since the Intel products were tested using that operating system, for Linux we do have limited support.
Based on that information, the best thing to do will be to access your Linux distro's website and forums for peer assistance with this issue at:
http://ubuntuforums.org/ http://ubuntuforums.org/
Additionally, not sure if the problem could be related to this, but the i7-5600U processor works with Intel® HD Graphics 5500 not with Intel® HD Graphics 5600, as you can confirm on the following link:
http://ark.intel.com/products/85215/Intel-Core-i7-5600U-Processor-4M-Cache-up-to-3_20-GHz?q=Intel® Core™ i7-5600U Processor (4M Cache, up to 3.20 GHz)
Also as an option you can always submit your inquiry in our developer zone, the peers in there might be able to provide further details about this matter:
https://software.intel.com/en-us/forum https://software.intel.com/en-us/forum
Any questions, please let me know.
Alberto
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page