Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Why I can see 2 platforms?

$
0
0

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

AttachmentSize
Downloadtest.txt3.82 KB

Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>