Commit Graph

2 Commits

Author SHA1 Message Date
root
215503a6d4 Fix compute verifier FP tolerance and add health tooling
- FP tolerance: iters/3 + 2 ULP (23 for default 64 iters) to account for
  CPU vs GPU FMA rounding accumulation in chained operations. Integer
  comparison remains exact.
- Verified: 100M checks, zero errors on both boards at 40 CU.
- Added cu_map.sh health overlay, CU health test, selective masking tool.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-18 21:41:22 +00:00
root
cdfeb5171b Add per-CU health test, selective masking, and compute verifier
New tools for boards with scattered harvest patterns where unlocked
CUs may be defective:

- bc250-compute-verify.sh: Heavy Vulkan correctness test (FP32 FMA,
  integer, bitwise, LDS) with per-element golden comparison
- bc250-cu-health-test.sh: Reboot-resuming 20-WGP isolation test using
  amdgpu.disable_cu. Results to /var/lib/bc250-cu-health-test/results.tsv
- bc250-cu-mask.sh: Generates selective disable_cu= config from failed
  WGPs — enables e.g. 38 of 40 CUs with bad ones masked
- cu_map.sh: Updated with --health overlay showing stock + healthy/failed

Usage:
  sudo ./scripts/bc250-cu-health-test.sh start   # full 20-WGP test
  ./scripts/bc250-cu-mask.sh --results results.tsv  # generate mask
  ./scripts/cu_map.sh --health results.tsv          # visual overlay

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-18 21:29:05 +00:00