skip to content
==> README.md <==
1# @ajax/mesh-prog-gemm
2
3f32 matrix multiply throughput as a native worker program: a cache-blocked GEMM (4 x 16 register
4tiles of fused multiply-adds, k blocks of 256, j blocks of 512) over every CPU, timed tasks, job items
5with their records, a check op writing C to the view, the plain loop and a one-thread run.
6
7- **Ported from:** alpha-rust-mesh `programs/gemm/src/main.rs` (its Linux path).
8- **Differences:** the macOS Accelerate (`cblas_sgemm`, AMX) path is not ported, so `impl` is always 2. The
9  thread count is the online CPUs, not the cgroup quota (Rust's `available_parallelism`).
10- **Tests:** the kernel and the plain loop against mesh-ref's f64 reference on sizes off the tile grid;
11  on @ajax/mesh-worker-node's loop: OP_CHECK's C, sizes, a timed run, a job record, the plain and
12  one-thread runs, threads.