mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
tests: prefill_fused_iq_test pair statistics printf had a real line break in its format string
The pair-statistics line added in 3204685e4 was written with a literal newline instead of the
"\n" escape, so the test did not compile ("missing terminating character", found by the z440
build without MMQ, job z440-20261113-1358-a939). The format string is back on one line with "\n".
Test code only; no engine file changes.
This commit is contained in:
1 parent
3204685e4c
commit
493b1f1c8f
1 file changed
+1
-2
@@ -751,8 +751,7 @@ void timing_part(const Pair& p, int T, cudaStream_t s) {
|
||||
std::nth_element(top.begin(), top.begin() + (ptrdiff_t) (top.size() / 2), top.end());
|
||||
const double med = top[top.size() / 2];
|
||||
std::sort(rel.rbegin(), rel.rend());
|
||||
std::printf("%s - fused vs MMQ per pair (information): %zu of %lld pairs above 1e-5, largest %.3e, second %.3e, median %.3e
|
||||
", p.name, above, (long long) rows,
|
||||
std::printf("%s - fused vs MMQ per pair (information): %zu of %lld pairs above 1e-5, largest %.3e, second %.3e, median %.3e\n", p.name, above, (long long) rows,
|
||||
rel.size() > 0 ? rel[0] : 0.0, rel.size() > 1 ? rel[1] : 0.0, med);
|
||||
}
|
||||
{ // the grouping: every pair in its expert's rows (the near-identical blobs here would hide a wrong expert)
|
||||
|
||||
Reference in new issue
Block a user