title: ERROR: clGetPlatformIDs -1001 when running OpenCL code (Linux)
body: <p>After finally managing to get my code to compile with OpenCL, I cannot seem to get the output binary to run! This is on my linux laptop running Kubuntu 13.10 x64</p>
  
  <p>The error I get is (Printed from cl::Error):</p>
  
  <pre><code>ERROR: clGetPlatformIDs
  -1001
  </code></pre>
  
  <p>I found <a href="https://stackoverflow.com/questions/4959621/error-1001-in-clgetplatformids-call">this post</a> but there does not seem to be a clear solution. </p>
  
  <p>I added myself to the video group but this does not seem to work. </p>
  
  <p>With regards to the ICD profile... I am not sure what I need to do - shouldn't this be included with the cuda toolkit? If not, where could I download one?</p>
  
  <p><strong>EDIT</strong>: It seems I have an ICD file in my system under /usr/share/nvidia-331/nvidia.icd. It contains the following text:</p>
  
  <pre><code>libnvidia-opencl.so.1
  </code></pre>
  
  <p>The only file in my system that resembles this is:</p>
  
  <pre><code>/usr/lib/nvidia-331/libnvidia-opencl.so.331.20
  </code></pre>
  
  <p>Is my ICD profile somehow wrong? Does anyone know a way to fix it?</p>