Skip to main content

CUDA→Metal universal backend shim (MetaXuda)

Project description

MetaXuda

MetaXuda is a CUDA runtime shim for Apple Silicon, written in Rust, that allows Numba CUDA kernels to run unmodified by mapping CUDA calls to Metal.


✨ Features

  • Drop-in replacement for libcudart.dylib / libcuda.dylib
  • Run Numba CUDA kernels (@cuda.jit) directly on Apple Metal
  • Includes precompiled Metal .metallib shaders for fused math ops
  • Ships with a stubbed libdevice.bc so no CUDA Toolkit is required

⚙️ Installation

Requirements

  • macOS 13+ with Apple Silicon (M1/M2/M3)
  • Python >=3.10
  • NumPy (>=1.23)
  • Numba (>=0.59)

Steps

# Clone the repo
git clone https://github.com/perinban/MetaXuda.git
cd MetaXuda-

# Back to project root
cd ..
pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metaxuda-0.1.3.tar.gz (814.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metaxuda-0.1.3-py3-none-any.whl (816.1 kB view details)

Uploaded Python 3

File details

Details for the file metaxuda-0.1.3.tar.gz.

File metadata

  • Download URL: metaxuda-0.1.3.tar.gz
  • Upload date:
  • Size: 814.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for metaxuda-0.1.3.tar.gz
Algorithm Hash digest
SHA256 554da059ce3169eaa8acad6c8e2ca16b755165cbbac529635e81670112615f1a
MD5 48d57b31d22ceb791149920cfe5ebf4c
BLAKE2b-256 c65075cd691af03fbb87c985bba574fa4d1f1a2aba866717510638ca8aeaac86

See more details on using hashes here.

File details

Details for the file metaxuda-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: metaxuda-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 816.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for metaxuda-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5cc318d11c34b8ffdc2290dfc7e68243ff9076888efe02458d7076aaf66e73e
MD5 07661c0a814ae30c1eda97c95473359c
BLAKE2b-256 4e5b0df0e5c938f4dea6050772fcafce2c2d048d77f766f8e16e7048692dbcc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page