Modern Apps git

← Modern-Apps.git

ml: assert v2 sampler device parity, not just report it

Commit
df1c2fb8f365c767207d388e713ffd7e1a539ddd
Author
vayun-mathur <[email protected]>
When
2026-09-14 07:22 UTC (2 months ago)
Parents
9d652fb

Diff

library/ml/src/main/rust/src/vulkan/parity_maml2.rs
diff --git a/library/ml/src/main/rust/src/vulkan/parity_maml2.rs b/library/ml/src/main/rust/src/vulkan/parity_maml2.rsindex 17a6f1bf1b..d1c784b914 100644--- a/library/ml/src/main/rust/src/vulkan/parity_maml2.rs+++ b/library/ml/src/main/rust/src/vulkan/parity_maml2.rs@@ -88,5 +88,5 @@ fn v2_sampler_on_device_agrees_with_the_reference() {         "the interpreter's sampler output is all zeros; the inputs never reached it"     );     let got = on_device(plan, blob, &refs);-    report("the v2 sampler (NCHW) at 49 frames, 55 chars", &host, &got);+    matches("the v2 sampler (NCHW) at 49 frames, 55 chars", &host, &got); }