diku-dk / futhark

:boom::computer::boom: A data-parallel functional programming language
http://futhark-lang.org
ISC License
2.41k stars 166 forks source link

macOS: Metal API Backend #853

Open eimfach opened 4 years ago

eimfach commented 4 years ago

OpenCL for macOS was deprecated by Apple in 2018 ... I guess it would make sense to implement a metal api backend for Futhark ...

athas commented 4 years ago

Given the difficulty of implementing the Vulkan backend and the relative obscurity of GPGPU on macOS, this is probably not going to happen any time soon.

If Apple completely removes OpenCL at some point, then the most likely outcome is probably that we'll finish up the Vulkan backend and recommend MoltenVK.

On the other hand, who knows. Metal does look like it has a much friendlier shader language and API than Vulkan...