/pymetal

Run metal compute shaders for GPGPU compute in Python on MacOS via PyObjc.

Primary LanguageMetal

pymetal

apple metal on python >=3.8, uses adapted runmetal & python-metal

Adapted from runmetal to run as a single file module in Python. Tested with: the latest PyObjc commit on Sep 15, 2022 compiled from source, and 8.5.1 from pip.

MacOS 13.0 and XCode Beta 14.1 Beta 1 (python-metal adaptation I tried failed to work in this config)

requirements:

macOS

Xcode (or CommandLineTools)

Metal Framework

Python 3.x, PyObjc installed (tested with 8.5.1 or later)