Tagged articles

OpenFPM

1 articles · Page 1 of 1
Machine Heart
Machine Heart
Jul 23, 2026 · Fundamentals

Running CUDA Code on Apple GPU with Minimal Kernel Changes

A CUDA/HIP‑based 3‑D fluid simulation was ported to an Apple M3 Pro device via a Clang‑HIP → SPIR‑V → Vulkan → MoltenVK conversion pipeline, achieving roughly ten‑fold speedup without any Metal‑specific API changes and preserving numerical accuracy.

3D fluid simulationCUDACross‑platform
0 likes · 7 min read
Running CUDA Code on Apple GPU with Minimal Kernel Changes