OpenCL deprecated on Mojave?


Maybe we had that discussion, but I missed it… OpenCL is with Mojave deprecated on Macos. Do we have any plan what to do about that? Will there be an adapter library at some point which glues Metal (which what they suggest now) to OpenCL?


We havent discussed this, at least not that I am aware. Mojave actually doesnt support any GPU computation as of now, except if you work with Metal2. Due to the mexican-standoff with NVIDIA, Mojave also doesnt support CUDA or even NVIDIA GPUs for graphics. Adobe is also not happy about this, they are among companies that have invested the most in OpenCL in terms of soft. developed.

The best anwser I have is that you will be able to run OpenCL on top of Vulkan (that you can run on Mojave). This is more or less based on this reply of the Khronos President (also a VP at NVIDIA). Its not on this exact topic but basically this quote:

(and yes - we are thinking about OpenCL over Vulkan over Metal - it should work - but early days).

It sounds bad but its sill better than no support like CUDA. Maybe? :/ I dont think Metal will ever become the GPGPU standard, having no support for double, long, etc. scares me to no end.

If not before, more will be known in May at IWOCL (sadly in Boston this year) which is where the KhronosGroup and everyone else usually do their OpenCL/GL/Vulkan/etc… announcements.


A semi-related follow up on this:

Also OpenCL C and C++ for OpenCL in Clang sounds fun.