I'm just starting to learn OpenCL. This is on a simple Desktop machine with Intel Haswell CPU + Intel HD Graphics 4600. For now I use PyOpenCL and the provided examples. My question is, if the code is running on CPU or GPU?
platforms = cl.get_platforms()
platforms[0].get_devices()
[<pyopencl.Device 'Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz' on 'Intel(R) OpenCL' at 0x706ac40>]
This looks like CPU. But is there any distinction at all or is it the Intel driver that decides where the kernel runs (CPU or GPU)? if this is the CPU only how do I make it run on the iGPU?