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
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30
- Google Colab hands users a G4 Blackwell GPU, user reports — MickeySteamboat · 2026-11-30
- 19 GitHub Actions Runner Providers Benchmarked: Speed and Cost, Updated Weekly — DanielLockyer · 2026-11-30
- Learn Inference: An Interactive Guide to Serving Generative Models in Production — attentionmech · 2026-11-30
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- Notes on 'Looking Back at Postgres': Extensibility, No WAL, Open Source — sh_reya · 2026-11-30