title: Exclusive compute mode with OpenCL+NVidia
body: <p>I have a question to exclusive compute mode with NVidia+OpenCL.</p>
  
  <p>I can set up exclusive compute mode (page 74 from cuda programming guide 3.0) with nvidia-smi on a nvidia-gpu . that means, only one program can compute on gpu.</p>
  
  <p>cuda runtime schedules than app automatically.</p>
  
  <p>but I have a problem with opencl-programs in this case:
  if one application runs on a gpu with setted exclusive compute mode and second opencl-program calls <code>clGetDeviceInfo(..., CL_DEVICE_AVAILABLE, ...)</code> with the same GPU is the <code>result == CL_TRUE</code>. After that if opencl-app tries to create a context on this device, than crashes the running app (both).</p>
  
  <p>How can i find out an available GPU with OpenCL?</p>
  
  <p>Thanks.</p>