title: How to obtain number of cores for OpenCL devices?
body: <p>In my application I want to display various OpenCL devices to the user.
  I am not able to decide how I show the number of cores in the device.
  This is just to give an idea about how many threads can run in parallel simultaneously.</p>
  
  <p>Compute units tells us the number of multi processor, this can be obtained by <code>CL_DEVICE_MAX_COMPUTE_UNITS</code>.
  To determine how many threads are supported by each multi processor is <code>CL_DEVICE_MAX_WORK_GROUP_SIZE</code> the correct parameter?</p>
  
  <p>The following results are obtained on my laptop:</p>
  
  <pre><code>ATI 7670m GPU
  CL_DEVICE_MAX_COMPUTE_UNITS = 6
  CL_DEVICE_MAX_WORK_GROUP_SIZE = 256
  
  Intel 3rd gen i5
  CL_DEVICE_MAX_COMPUTE_UNITS = 4
  CL_DEVICE_MAX_WORK_GROUP_SIZE = 1024
  </code></pre>
  
  <p>So my <strong>GPU has 1536 thread</strong> support while <strong><em>CPU has support for 4096 threads</em></strong>?
  This is obviously not true, hence require some help on this.</p>