- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My computer has only 1 CPU. It has 4 cores (8 threads). But when I use err = clGetPlatformIDs(0, NULL, &numPlatforms);, I get 2 platforms.
One platform contains 1 CPU and 1 GPU, the other one contains 1 CPU. The 2 CPU are the same CPU.
I don't know why.
The platform number : 2
PlatformId=0 deviceNums=2 vedor:Intel(R) Corporation
PlatformId=1 deviceNums=1 vedor:Intel(R) Corporation
Compute Device #0
name = Intel(R) Core(TM) i7-4770R CPU @ 3.20GHz deviceId[0] = 8317768
Driver version = 4.2.0.99
Global Memory (MB): 2047
Max Memory Alloc (MB): 511
with Cache (MB): 0
Local Memory (KB): 32
Max clock (MHz) : 3200
Max Work Group Size: 8192
Number of parallel compute units: 8
Compute Device #1
name = Intel(R) Iris(TM) Pro Graphics 5200 deviceId[1] = 8343372
Driver version = 10.18.10.3960
Global Memory (MB): 1425
Max Memory Alloc (MB): 356
with Cache (MB): 2
Local Memory (KB): 64
Max clock (MHz) : 400
Max Work Group Size: 512
Number of parallel compute units: 40
Compute Device #2
name = Intel(R) Core(TM) i7-4770R CPU @ 3.20GHz deviceId[2] = 8451000
Driver version = 4.6.0.92
Global Memory (MB): 2047
Max Memory Alloc (MB): 511
with Cache (MB): 0
Local Memory (KB): 32
Max clock (MHz) : 3200
Max Work Group Size: 8192
Number of parallel compute units: 8
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zhang,
We have two platforms: experimental OpenCL 2.0 platform for the CPU and OpenCL 1.2 platform for the CPU and GPU, so what you see is normal.
Robert

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page