Use metal for GPU acceleration in macOS
In yesterday's WWDC, Apple expressed their plan of deprecating OpenCL in macOS 10.14 and encourage developers to use metal for GPU intensive calculations.
I wonder if there is any plan to use metal for GPU acceleration in the upcoming versions?
#1 Updated by Szilárd Páll 10 months ago
- Category set to mdrun
- Priority changed from Normal to Low
Not very likely that it will happen. The core team has no such plans, and even if someone contributed code, Metal is a graphics API much like Vulkan or DX12 not very well-suited for compute. Moreover it is not portable and useful essentially on a single platform mostly relevant on laptops and mobile devices which is not a great incentive.
#3 Updated by Roland Schulz 8 months ago
An option might be to run OpenCL on Metal. Using e.g. https://github.com/kpet/clvk https://github.com/google/clspv https://github.com/KhronosGroup/MoltenVK . There are other similar projects. I suspect it is likely that a stronger joined effort will appear when it is actual necessary because Apple has removed it.