title: Using OpenCL with intel UHD graphics on Linux
body: <p>I am trying to use <code>OpenCV</code> with target <code>OpenCL</code> in a <strong>Ubuntu 16.04</strong> system with <strong>intel UHD 620</strong> graphics. I have installed <code>ocl-icd-opencl-dev</code> for <code>OpenCL</code> but <code>cv::ocl::haveOpenCL()</code> tells me that I do not have <code>OpenCL</code></p>
  
  <p><code>clinfo</code> gives me </p>
  
  <pre><code>Number of platforms                               0
  </code></pre>
  
  <p>Then I tried installing <code>beignet</code> as <a href="https://stackoverflow.com/questions/34370191/opencl-on-linux-with-integrated-intel-graphic-chip">this answer</a> proposes. Still <code>cv::ocl::haveOpenCL()</code> tells me that I do not have <code>OpenCL</code> and now <code>clinfo</code> says</p>
  
  <pre><code>Number of platforms                               1
  Platform Name                                   Intel Gen OCL Driver
  Platform Vendor                                 Intel
  Platform Version                                OpenCL 1.2 beignet 1.1.1
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_spir cl_khr_icd
  Platform Extensions function suffix             Intel
  beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
  </code></pre>
  
  <p>Can anybody help?</p>