Skip to main content

CUDA-compatible GPU runtime for Apple Silicon that maps Numba CUDA kernels and memory operations onto Apple Metal. Synchronous execution line.

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-1.0.0.tar.gz (852.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-1.0.0-py3-none-any.whl (855.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metaxuda-1.0.0.tar.gz
Algorithm Hash digest
SHA256 85af13ec5d304f7a574949cc2b615c2a8edc3e2c58d27a619b97906d91303bc9
MD5 7e6ee992a1da39fd10641f794ef73a36
BLAKE2b-256 045b6ffaee8644c8aa1573eec6d6c2e9d3f089b80ab3fc6e5cb2ae2718f77634

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for metaxuda-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c7afe7ac25600e5b3e5139a8fa401518030f65f43e78554ad0b7e0b396f42aa
MD5 8cbd694ecfbca28b48c1c4159073af54
BLAKE2b-256 2ed0b065d9f3d0b5999532f847e366dd7fee2d5f1e60b32d5dc18b40a3aaac03

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