About OpenCL. How to do parallel code in MacOS Mojave?

Hello everyone! Does anybody know if there's an alternative to do parallel programming in GPU with OpenCL with MacOS Mojave? I don't want to use Metal, but it seems that is the only way.

Replies

Why not Metal? If you are just doing compute, I actually find Metal easy to use. Rehtorical question because I know there are good reasons (e.g. the weak documentation and lack of a pure C binding for interoperability). But if you don't want to use OpenCL (ironically broken on MacOS) you can try Vulkan, which uses MoltenVK on MacOS (no thanks to Apple). https://vulkan.lunarg.com