Expand description
Metal backend (common.metal, chebyshev.metal, walk.metal). The kernels are compiled from source when the device is
opened, without fast math (the double-single arithmetic needs exact IEEE rounding). Buffers
live in shared memory: on Apple Silicon the CPU reads the results without a copy.
Structsยง
- Metal
Device - The GPU, its command queue and the compiled kernels.
- Metal
Operator - A sparse Hamiltonian resident on the GPU.