validation: the runtime guard lists pipeline/compile/partition.rs as compile-time translation

The fitted-tile commit (0a82834fd2) made lower/dispatch.rs, a runtime input, reach
pipeline/compile/partition.rs through plan_kernel's grid edge, so the guard failed with a file
neither an input nor listed. partition.rs decides from a kernel's AIR, at compile time, whether
the kernel observes its threadgroup partition; the plan's grid edge it feeds is in the pipeline
the artifact digests, and no run reads it otherwise. Listed with that reason, the inputs and the
pinned runtime-sources hash are unchanged.
This commit is contained in:
Anees Iqbal committed 2026-11-17 17:22:12 -08:00
1 parent 76ddb7ed45
commit a3f1b769b1
1 file changed
+1
@@ -177,6 +177,7 @@ fn the_runtime_sources_are_the_committed_ones() {
("metal2vulkan/src/pipeline/artifact.rs", values),
("metal2vulkan/src/pipeline/compile.rs", compile),
("metal2vulkan/src/pipeline/compile/key.rs", "the compile's cache key, which the artifact digest excludes"),
("metal2vulkan/src/pipeline/compile/partition.rs", "compile-time translation, reached only from the compile-time part of lower/dispatch.rs (plan_kernel's grid edge: whether a kernel observes its threadgroup partition, decided from its AIR); what it produces is in the pipeline the artifact digests"),
("metal2vulkan/src/pipeline/descriptor.rs", "compile-time translation, reached only from the compile-time parts of mixed runtime files; what it produces is in the pipeline the artifact digests (the pipeline descriptors)"),
("metal2vulkan/src/pipeline/facts.rs", values),
("metal2vulkan/src/pipeline/graphics.rs", "the compiled pipeline's value types; the artifact digests their values (the graphics state)"),