- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have a problem that I cannot solve by my own, and I need some help.
I just downloaded and installed Intel SDK for OpenCL applications. I could compile some examples on Intel's website. However, the execution always fails because clGetPlatformIDs() always returns -1001.
Could someone tell me what I am doing wrong, or what I am missing, please?
My machine is:
- Processor: Intel i3-4010
- OS: Ubuntu 14.04
- Graphic: Intel HD 4400 (Haswell-ULT Integrated Graphics Controller)
Thank you in advance
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Albert,
Are you able to run capsbasic example: https://software.intel.com/en-us/articles/caps-basic ?
Could you please run it and post the output?
Also, did you install GPU and CPU OpenCL drivers: https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_driver and https://software.intel.com/en-us/articles/opencl-drivers#core_xeon ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Robert I. (Intel) wrote:
Hi Albert,
Are you able to run capsbasic example: https://software.intel.com/en-us/articles/caps-basic ?
Could you please run it and post the output?
Also, did you install GPU and CPU OpenCL drivers: https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_dr... and https://software.intel.com/en-us/articles/opencl-drivers#core_xeon ?
Hi Robert :
I also have this problem,and can not slove it for days.
My system is centos 6.2 ,I install
[root@server ~]# grep -m 1 name /proc/cpuinfo
model name : Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
[root@server ~]# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 041e (rev 06)
[root@server ~]#
[root@server ~]# /root/capsbasic
OpenCL error with code -1001 happened in file capsbasic.cpp at line 106. Exiting...
[root@server ~]# history | grep rpm
1089 rpm -e opencl-1.2-intel-cpu-6.4.0.25-1.x86_64
1090 rpm -e opencl-1.2-base-pset-6.4.0.25-1.noarch
1091 rpm -e opencl-1.2-base-6.4.0.25-1.x86_64
1092 rpm -qa | grep opencl
1095 sudo rpm -Uvh intel-opencl-r5.0-63503.x86_64.rpm
1096 sudo rpm -Uvh intel-opencl-devel-r5.0-63503.x86_64.rpm
1097 sudo rpm -Uvh intel-opencl-cpu-r5.0-63503.x86_64.rpm
1124 history | grep rpm
[root@stor-186 opencl]#
[root@server ~]# ls -l /etc/OpenCL/vendors/intel.icd
-rw-r--r-- 1 root root 36 May 26 16:08 /etc/OpenCL/vendors/intel.icd
[root@stor-186 opencl]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I install Centos7 and solve the problem,but CL_DEVICE_TYPE_GPU is 0,is there anyone who can help me?
BYW,I have check http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_intel-opencl-installation.pdf
/root/capsbasic
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) i3-4160 CPU @ 3.60GHz
CL_DEVICE_AVAILABLE: 1
CL_DEVICE_VENDOR: Intel(R) Corporation
CL_DEVICE_PROFILE: FULL_PROFILE
CL_DEVICE_VERSION: OpenCL 1.2 (Build 475)
CL_DRIVER_VERSION: 1.2.0.475
CL_DEVICE_OPENCL_C_VERSION: OpenCL C 1.2
CL_DEVICE_MAX_COMPUTE_UNITS: 4
CL_DEVICE_MAX_CLOCK_FREQUENCY: 3600
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: 1561958400
CL_DEVICE_GLOBAL_MEM_SIZE: 6247833600
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_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
[root@node-46186 ~]#
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page