

call the versioninfo() method for some details on the toolchain: julia> using MetalĪnd there we go! You'll note here that I'm using the upcoming macOS 13 (Ventura) this is currently the only supported operating system. Then, leave the package manager by pressing backspace, import the Metal package, and e.g. Installation is as easy as that, and we'll automatically download the necessary binary artifacts (a C wrapper for the Metal APIs, and an LLVM back-end). Start by getting a hold of the upcoming Julia 1.8, launch it, and enter the package manager by pressing ]: julia> ]

If you're interesting in using Metal.jl, please consider contributing to its development! Most of the package is written in Julia, and checking-out the source code is a single Pkg.develop away :-) Quick start We also haven't optimized for performance yet. In the following post I'll demonstrate some of that functionality and explain how it works.īut first, note that Metal.jl is under heavy development: The package is considered experimental for now, as we're still working on squashing bugs and adding essential functionality. The back-end is built on the same foundations that make up existing GPU packages like CUDA.jl and AMDGPU.jl, so it should be familiar to anybody who's already programmed GPUs in Julia. Julia has gained a new GPU back-end: Metal.jl, for working with Apple's M1 GPUs. Specifically, Metal will support any late 2012 Mac model, starting with the Mac mini onwards, including late 2012 iMac, mid 2012 Mac Pro, mid 2012 MacBook Air, 13 and 15-inch MacBook Pros (Retina and non-Retina), and the new twelve-inch MacBook with Retina display.Technical preview: Programming Apple M1 GPUs in Julia with Metal.jl Jun 24, 2022 In this sense, Apple has confirmed that Metal will support Macs released since 2012, that is, older models will not experience these speed increases promised by Metal. Then we leave you the list of Macs that will be supported.įirst of all clarify that Metal for Mac takes advantage of the capabilities of all modern GPUs from NVIDIA, AMD and Intel. Both photo applications and games and video editing software such as Adobe After Effects, will experience a clear improvement, being able to execute different actions up to ten times faster by offloading certain tasks to the CPU and GPU.īut how can we know if our Mac will be compatible with Metal and will take advantage of all these improvements.

As with iOS, Metal in OS X El Capitan significantly reduces the graphics overhead that can occur on your computer when running OpenGL libraries, allowing low-level access to your Mac's graphics subsystem.
