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.5.tar.gz (815.2 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.5-py3-none-any.whl (816.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metaxuda-0.1.5.tar.gz
  • Upload date:
  • Size: 815.2 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.5.tar.gz
Algorithm Hash digest
SHA256 7612a8d29dec8c0f51fb8cc5f8f3e408e8991b2b5c1dadc6c3e3be4cecc515e2
MD5 d47e1af3a13108ba65a7cdf39baa162f
BLAKE2b-256 4ed02ec2934fc8d8fdceee205559e7e8f617da55f95c45e4965af6e07a83e65c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metaxuda-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 816.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 576f366e83f506d075de6feae8178fbc70ad40b91f8806eb8e4260ddcd4d4faa
MD5 b157069fa82ff63f6e84588794cb05b8
BLAKE2b-256 fe19b39d8aea0e489644ed449f3f30db77d8733c349cc4da326dc17b651c0c09

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