mirror of
https://github.com/ashhart/TensorFold.git
synced 2026-12-06 20:43:08 +08:00
EXLR8: let the dense device checks compile with the v4 formats
The dense format enum gained int8, fp8_b32 and row_trellis, but the synthetic-case switch shared by tf-exlr8-dense-check and tf-cuda-test exlr8-dense did not handle them, so neither program compiled. Those formats have their own synthetic cases. The switch now refuses them by name; the synthetic case list never selects them.
This commit is contained in:
@@ -108,6 +108,8 @@ pub fn synthetic(c: Case, seed: u64) !Packed {
|
||||
m.data[0] = tensor(.f32, &.{ c.out, c.in }, scratch[0]);
|
||||
},
|
||||
.trellis => return error.TrellisHasItsOwnKernels,
|
||||
// the v4 additions have their own synthetic cases in the qualification contract
|
||||
.int8, .fp8_b32, .row_trellis => return error.Exlr8SyntheticFormat,
|
||||
}
|
||||
const p = try pack(m);
|
||||
a.free(scratch[0]);
|
||||
|
||||
Reference in New Issue
Block a user