8
votes

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 ?
2
You cannot run CUDA (device) code on an intel processor. You may be able to run OpenCL code on an intel processor (not sure of the specifics of your SBC.) As such I am re-tagging this question from CUDA to OpenCL. - Robert Crovella
Thanks, you wrote: "You may be able to run OpenCL " Is there any limitation ? (I'm using Intel 3rd/4rd generation, which has processor graphics) - Azil
In general, I would think you could run OpenCL on an i7 intel processor. But I'm an not an expert on this. I suggest you wait and see if anyone else has suggestions. - Robert Crovella

2 Answers

9
votes

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.

6
votes

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