Can I run Cuda or OpenCl on Intel processor graphics I7 (3rd or 4rd generation)

26.2k views Asked by At

I'm developing on SBC (which have Intel I7 3ed or 4ed, and doesn't have external GPU) I'm using linux. I want to take the advantage of Intel processor graphics . I thought to learn developing with Cuda or OpenCl. I read some old posts (several years ago) (and I'm not sure there is a better technology now):

Can i run CUDA on Intel

GPU Programming, CUDA or OpenCL

  1. Can I run cuda code on Intel processor graphics ?
  2. Can I run OpenCl code on Intel processor graphics ?
  3. If I can run Cuda & OpenCl code on Intel processor graphics, which is better ?
3

There are 3 answers

8
doqtor On BEST ANSWER

As @Robert Crovella said you cannot run CUDA on Intel GPU/CPU. Where it comes to OpenCL you have few choices:

  1. Intel OpenCL Driver for Intel GPU and CPU
  2. Open Source Beignet for Intel GPU
  3. AMD APP SDK which can be run on Intel CPU

I cannot say which one will be best for Intel GPU on Linux. I think Beignet was first to support Intel GPU then official Intel drivers appeared. For Intel CPU on Linux I use AMD APP SDK.

0
Sourav Emon On

Those who have Intel UHD graphics just install the openCL driver and then all will be okay <3. I am using Ubuntu 22.04 and its works on my Intel UHD graphics 620.

2
Hugh Perkins On

You can now :-) Using: coriander, which is an NVIDIA® CUDA™ compiler for OpenCL 1.2 GPUs (full disclosure: I'm the author)