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

opencl can't find CPU device

bionicqq519
Beginner
1,742 Views

Hi,

my system contains intel integrated GPU and CPU, but when I call clGetDeviceIDs by CL_DEVICE_TYPE_ALL argument, I only see the integrated GPU device on my device list as below log.

[CreateContext] GPU -- 0 --
[CreateContext] GPU DEVICE_NAME = Intel(R) UHD Graphics 620
[CreateContext] GPU DEVICE_VENDOR = Intel(R) Corporation
[CreateContext] GPU DEVICE_VERSION = OpenCL 2.1 NEO
[CreateContext] GPU DRIVER_VERSION = 27.20.100.8681
[CreateContext] GPU DEVICE_MAX_COMPUTE_UNITS = 24
[CreateContext] GPU DEVICE_MAX_CLOCK_FREQUENCY = 1100
[CreateContext] GPU DEVICE_MAX_WORK_GROUP_SIZE = 1100
[CreateContext] GPU DEVICE_MAX_WORK_ITEM_SIZE = 1100
[CreateContext] GPU DEVICE_GLOBAL_MEM_SIZE = 5106237440
[CreateContext] GPU DEVICE_LOCAL_MEM_SIZE = 65536
[CreateContext] GPU DEVICE_MEM_BASE_ADDR_ALIGN = 1024
[CreateContext] ALL -- 0 --
[CreateContext] ALL DEVICE_NAME = Intel(R) UHD Graphics 620
[CreateContext] ALL DEVICE_VENDOR = Intel(R) Corporation
[CreateContext] ALL DEVICE_VERSION = OpenCL 2.1 NEO
[CreateContext] ALL DRIVER_VERSION = 27.20.100.8681
[CreateContext] ALL DEVICE_MAX_COMPUTE_UNITS = 24
[CreateContext] ALL DEVICE_MAX_CLOCK_FREQUENCY = 1100
[CreateContext] ALL DEVICE_MAX_WORK_GROUP_SIZE = 1100
[CreateContext] ALL DEVICE_MAX_WORK_ITEM_SIZE = 1100
[CreateContext] ALL DEVICE_GLOBAL_MEM_SIZE = 5106237440
[CreateContext] ALL DEVICE_LOCAL_MEM_SIZE = 65536
[CreateContext] ALL DEVICE_MEM_BASE_ADDR_ALIGN = 1024

 

Is it possible to use both intel integrated GPU and CPU?

Labels (1)
0 Kudos
0 Replies
Reply