title: OpenCL: One Program running one multiple devices
body: <p>I found already this
  <a href="https://stackoverflow.com/questions/5647795/opencl-running-cpu-gpu-multiple-devices">OpenCL: Running CPU/GPU multiple devices</a>.</p>
  
  <p>But i've stil questions (3) how to run a programm on multiple devices. Is the recipe as follows?(Q1)</p>
  
  <ol>
  <li><p>create the devices you want to use.</p></li>
  <li><p>For every device create a context.</p></li>
  <li><p>for every context call clBuilProgram to build a program</p></li>
  <li><p>for every program call clCreateCommandQueue to build one command queue per context</p></li>
  <li><p>for every context and for every function parameter call clCreateBuffer.</p></li>
  </ol>
  
  <p>or must i concatenate the CommandQueues.(Q2)</p>
  
  <p>Has someone some example code or a link to a tutorial? (Q3)</p>