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

CPU OpenCL work-items

$
0
0

What is the meaning of having a certain number of OpenCL work-items into a CPU?

 

I'm trying tu understand why I could have more work-items in a CPU than a GPU in one dimension.

 

== CPU == 

    DEVICE_VENDOR: Intel
    DEVICE NAME: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
    MAXIMUM NUMBER OF PARALLAEL COMPUTE UNITS: 4
    MAXIMUM DIMENSIONS FOR THE GLOBAL/LOCAL WORK ITEM IDs: 3
    MAXIMUM NUMBER OF WORK-ITEMS IN EACH DIMENSION: (1024 1 1  )
    MAXIMUM NUMBER OF WORK-ITEMS IN A WORK-GROUP: 1024

== GPU == 

    DEVICE_VENDOR: Intel Inc.
    DEVICE NAME: Intel(R) Iris(TM) Graphics 6100
    MAXIMUM NUMBER OF PARALLAEL COMPUTE UNITS: 48
    MAXIMUM DIMENSIONS FOR THE GLOBAL/LOCAL WORK ITEM IDs: 3
    MAXIMUM NUMBER OF WORK-ITEMS IN EACH DIMENSION: (256 256 256  )
    MAXIMUM NUMBER OF WORK-ITEMS IN A WORK-GROUP: 256

The above is the result of my test code to print the information of the actual hardware that the OpenCL framework can use.

I really do not understand why the value of 1024 in the Maximum number of work-items in the CPU section. What is the real meaning of having that amount of work-items? What is the meaning of 1024 work-items into a 4-core CPU?

 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



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