I understand OpenCL is mostly aimed general programming on the graphics card. I have heard it’s also possible to run OpenCL on CPU’s which have integrated graphics. But what I am not sure about – is it possible to run OpenCL on non-integrated graphics CPU’s, like the i9-10900KF? so far i have managed to run CL on my graphics card (and that’s the whole reason I picked up the lib), but just curious if it’s possible on the hardware mentioned above as well.
I think you may be looking for an OpenCL driver that exposes OpenCL support for the CPU as a CPU, or one which exposes OpenCL support for the CPU as a GPU.
For the former, websearch for “opencl CL_DEVICE_TYPE_CPU”. That’s the OpenCL lingo used to query for CPU devices. Not sure of the latest status, but according to this 10 year old post, Intel’s and AMD’s OpenCL drivers support this. I’d start with the one that matches your CPU:
You might also check out Mesa3D. It looks like it supports some OpenCL, with and without GPUs (see Mesa Matrix).
Intel® CPU Runtime for OpenCL™ Applications 18.1 for Linux* OS (64bit only)
It sounds like their “Intel Graphics Runtimes” are for those with integrated graphics, and “Intel CPU Runtimes” are for those possibly without integrated graphics. A comment on the page suggests you can install both at the same time and they can coexist, but there’s no benefit of doing so in your case.
No, I sure don’t. I didn’t realize it even supported any OpenCL until I did a quick websearch in response to your original post.
I would ask the Mesa3D guys for details here. They have a mailing list.