by gcr · 1y ago · 0 comments
1. CPU, via SIMD/NEON instructions (just dot products)
2. CPU, via AMX coprocessor (entire matrix multiplies, M1-M3)
3. CPU, via SME (M4)
4. GPU, via Metal (compute shaders + simdgroup-matrix + mps matrix kernels)
4. Neural Engine via CoreML (advisory)
Apple also appears to be adding a “Neural Accelerator” to each core on the M5?
A Mac Quadra in 1994 probably had floating point compute all over the place, despite the 1984 Mac having none.
I know how just the multitasking nature of the OS probably make this situation happens across different programs, but nonetheless would be pretty cool!
The "neural accelerator" is per GPU core, and is matmul. e.g. "Tensor cores".