Chapter 6 W0 capture
Date: 2026-10-22
Experiment: four-element Metal vector add from a C-string shader, with the first input backed by a temporary page-aligned mmap file.
Command:
nice -n 10 clang -fno-objc-arc -O2 code/examples/ch06_vecadd.m -framework Foundation -framework Metal -o code/build/ch06_vecadd
nice -n 10 ./code/build/ch06_vecadd
Output:
11 22 33 44
No model loaded; no inference run. This is a correctness output, not a timing measurement.
