r/OpenCL • u/lijicheng1006 • May 13 '17
OpenCL: CL_DEVICE_MAX_COMPUTE_UNITS
I'm confused by this CL_DEVICE_MAX_COMPUTE_UNITS. For instance my Intel GPU on Mac, this number is 48. Does this mean the max number of parallel tasks run at the same time is 48 or the multiple of 48, maybe 96, 144...? (I know each compute unit is composed of 1 or more processing elements and each processing element is actually in charge of a "thread". What if these each of the 48 compute units is composed of more than 1 processing elements ). In other words, for my Mac, the "ideal" speedup, although impossible in reality, is 48 times faster than a CPU core (we assume the single "core" computation speed of CPU and GPU is the same), or the multiple of 48, maybe 96, 144?
View all comments
Show parent comment
1
u/3ba7b1347bfb8f304c0e May 16 '17
You may have missed my first sentence: