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.1.tar.gz (823.0 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.1-py3-none-any.whl (822.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metaxuda-0.1.1.tar.gz
  • Upload date:
  • Size: 823.0 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.1.tar.gz
Algorithm Hash digest
SHA256 cb53312b60e493d83c739a341152487d88b6dce1947225495b29bba19de7b689
MD5 166b9fe482b1e0a5a8b8c757f39860a4
BLAKE2b-256 87a18906d88d1e936beb0f3c55545016998829af6e513fc8416eb907419f8797

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metaxuda-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 822.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76f9b8a2a7f32b8ad881914d0a62a63dba5e0eb0c850ed7875657d3efe7e8b1e
MD5 5edde45cd57bfa9d2ac3c8f2ef320235
BLAKE2b-256 c199310de0bb662ed7e5bf22578b75019ccaaa6b1fde6efbe4744d65cfad8a5b

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