Plans for Metal support on MacOS X (Ventura onward)? #254
Replies: 1 comment
-
Hi @khyron4eva , thank you very much for your feedback and kind words. Concerning the errors, we can also reproduce them. These errors are due to two things:
Regarding the Metal support, this is something we have been discussing internally with the TornadoVM team. Currently, there are no plans for supporting it, as we do not have a use case yet. TornadoVM already supports three backends (OpenCL C, SPIR-V + Level Zero, and NVIDIA PTX). I do agree with you that a naive Metal backend would be great, but unfortunately, we do not have the resources to do so. For contributions to the TornadoVM project, we recommend holding on a bit. We need an Open Source contribution agreement from The University of Manchester and this is taking more time than expected. Once we have this contribution agreement, yes, we welcome contributions and we are happy to assist. Apologies for this inconvenience, but unfortunately it is out of our (TornadoVM team) hands. In the meantime, we can still fire new issues, comments and feedback. We really appreciate it. |
Beta Was this translation helpful? Give feedback.
-
I'm writing as the owner of a MacBook Pro M2 Max running MacOS Ventura (13.3). It appears that my laptop has OpenCL 1.2 still. It also appears that Apple has moved development of the GPU programming environment to Metal (see below).
A bit about my system:
Running Tornado 15 on this system mostly works however I get a multitude of the following errors when running the benchmarks:
Additionally, "make tests" yields the following output:
So my ultimate question is whether it is planned to make Tornado work with the latest Macs running Apple Silicon & Ventura (or later operating systems)? What, if anything, could I do to help with this effort? I'm not really a developer but I really would like to see this work however I don't have a personal need as yet.
Thank you Tornado team for the effort on this project! I can't wait to use Tornado in production one day!
References:
Videos:
Explore the new system architecture of Apple silicon Macs -- https://developer.apple.com/videos/play/wwdc2020/10686/
Working with Metal: Overview -- https://developer.apple.com/videos/play/wwdc2014/603/
Working with Metal: Fundamentals -- https://developer.apple.com/videos/play/wwdc2014/604/
Working with Metal: Advanced -- https://developer.apple.com/videos/play/wwdc2014/605/
Metal Compute on MacBook Pro -- https://developer.apple.com/videos/play/tech-talks/10580/
Build GPU binaries with Metal -- https://developer.apple.com/videos/play/wwdc2020/10615/
Metal for Pro Apps -- https://developer.apple.com/videos/play/wwdc2019/608/
Metal Performance Optimization Techniques -- https://developer.apple.com/videos/play/wwdc2015/610/
Optimize Metal Performance for Apple silicon Macs -- https://developer.apple.com/videos/play/wwdc2020/10632/
Harness Apple GPUs with Metal -- https://developer.apple.com/videos/play/wwdc2020/10602/
Discover Metal 3 -- https://developer.apple.com/videos/play/wwdc2022/10066/
Target and optimize GPU binaries with Metal 3 -- https://developer.apple.com/videos/play/wwdc2022/10102/
Load resources faster with Metal 3 -- https://developer.apple.com/videos/play/wwdc2022/10104/
Scale compute workloads across Apple GPUs -- https://developer.apple.com/videos/play/wwdc2022/10159/
Discover Metal Performance HUD -- https://developer.apple.com/videos/play/tech-talks/110339/
Documentation:
Metal Framework Docs: https://developer.apple.com/documentation/metal/
Metal Programming Guide: https://developer.apple.com/library/archive/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40014221
Best Practices Guide: https://developer.apple.com/library/archive/documentation/3DDrawing/Conceptual/MTLBestPracticesGuide/index.html#//apple_ref/doc/uid/TP40016642
Beta Was this translation helpful? Give feedback.
All reactions