m1-gpu-cpp — Metal GPU Computing Demos

GPU-accelerated scientific computing on Apple Silicon using Metal Shading Language, exposed to Python via pybind11.

General operations demo

1D/2D array ops · Laplacian stencils · Mandelbrot · N-body · heat diffusion

Elastic wave propagation demo

2D elastic FD (Virieux staggered-grid) · seismograms · wavefield snapshots