CUDA code now runs on Apple Silicon with zero source code changes
petewoodbridge · x · 2026-08-26
Someone has enabled CUDA code to run on Apple Silicon without any source code modifications.
Technical Implementation:
Built a translator chain using GPT-5.6 Sol that rewrites CUDA to Metal step-by-step through existing compilers.
Performance:
- Workload: Heavy 3D fluid simulation (particle sorting, neighbor list building, atomics), not a toy demo.
- Apple GPU: 6 seconds.
- Same code on CPU: 60 seconds.
- Overhead: Zero performance loss. Unlike typical cross-compilation that eats 30–50% throughput, this solution wastes none, with the GPU fully saturated.
More from Infra
- NVIDIA releases Nemotron 3.5 Bolt 74B MoE that fits in 24GB VRAM at 2-bit — NerdyRodent · 2026-10-16
- Analyst: 80% of neoclouds may not survive, but the demand for their GPU capacity is real — BenBajarin · 2026-10-16
- Apple and Meta partner to run Muse Spark model on linked Mac Studios — pdamodaran · 2026-10-16
- Nvidia's developer base hits 11 million, up ~3.7x from 3 million in 2021 — Beth_Kindig · 2026-10-16
- Muse Spark Open runs locally on a Mac M3 Ultra via llama.cpp: frontier model on desktop — pcuenq · 2026-10-16
- Muse-Spark open-weights drop: 816B-A42B MoE model gets 359GB MLX 3-bit build — ns123abc · 2026-10-16