Files
metal2vulkan/crates
Anees Iqbal 3e55a67849 Re-measure the C3 reference under this host's toolchain: Xcode 27B52, metal 32023.922
The M3 Max's toolchain moved from Xcode 27A266a (metal 32023.921) to 27B52 (metal 32023.922)
on macOS 27.0.1 (26A434). corpus-metal refuses to record under an identity the reference list
does not declare, so the list moves to the new toolchain and every committed authored case is
qualified again on Metal under it.

What changed:
- cutover/c3-references.json names xcode_build 27B52 and metal_toolchain "Apple metal version
  32023.922 (metalfe-32023.922.4)". The device, GPU cores, OS and OS build are unchanged.
- corpus/observations/metal holds one fresh apple-m3-max-macos27.0.1 row for each of the 2263
  committed cases. They were measured through the indexed path (corpus-metal --batch, default
  jobs, under the Mac GPU lock) and installed with corpus-metal --batch-install, the store's
  validated write. No other environment's row moves and no slot goes away.

The re-measured rows were compared field by field with the committed ones, leaving out only the
environment identity, oracle_abi and timing:
- 2259 are equal in every field: 2249 against the old reference row, and 10 against the
  local-metal row of a case that had none.
- 4 cases had no row and now qualify (the msl-4-1 atomics cases).
- 0 changed status.

2263 rows carry the new identity: 2259 qualified and 4 reference gaps (GPUFamily10
simdgroup_matrix 16x16), as before.

One case needed a second run: 81c239f3…, "tile-threads-8x8-in-a-16x16-tile-take-their-places".
In the batch, Metal refused it twice: "Metal tile dispatch asks for 64 threads a threadgroup
([8, 8, 1]), but the pipeline permits 16". The cause is Metal's pipeline cache, not the
toolchain. A tile render pipeline with threadgroupSizeMatchesTileSize off, compiled for the
first time, reports maxTotalThreadsPerThreadgroup as the product of its
requiredThreadsPerThreadgroup (8x8 gives 64). A later pipeline of the same function that differs
only in that size gets the first one's value, in the same process and in later ones. In the
batch, the 4x4 case of the same fixture (16 threads) ran before the 8x8 one. A from-scratch
kernel compiled at run time with a salt shows the same thing under 32023.921 and 32023.922, so
the old toolchain behaves the same way. Run alone, the case qualifies with output 188e2242…,
equal to its recorded row, in all six runs since, across two builds, two environments, and
single and batch mode. Its row here is such a run. A bug report draft with the from-scratch
kernel is staged outside the repository, in the orchestrator's bug-drafts folder.

No validation test or case-index entry reacts: no status changed.

Verified: the whole metal2vulkan-validation suite (1363 passed, 4 skipped) with the list and the
2262 batch rows installed. Then, after the tile row, its case, observation, store, reference,
corpus and census tests (cargo nextest -E 'test(/case|observation|store|c3|reference|committed|
corpus|cutover|census/)'): 405 passed.

(cherry picked from commit 175d5f044aa526850b469ccfdb7758b36c442463)
(cherry picked from commit b1fe02a98c37ef685ab933426bb166258e27852c)
2026-11-03 06:50:10 -08:00
..