Project

General

Profile

Feature #2548

Use metal for GPU acceleration in macOS

Added by zhiyi wu 5 months ago. Updated 26 days ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
mdrun
Target version:
-
Difficulty:
uncategorized
Close

Description

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?

History

#1 Updated by Szilárd Páll 3 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.

#2 Updated by Mark Abraham 26 days ago

  • Status changed from New to Closed

Agree. Not likely to come onto our roadmaps.

#3 Updated by Roland Schulz 26 days 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.

Also available in: Atom PDF