CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / evidence / C6-DISASM-OM / s04.sh
| 1 | #!/bin/sh |
| 2 | # t_81083ab1 step 04: the test-sm121dis red check: the C oracle with the planted fault must FAIL check.sh |
| 3 | set -u |
| 4 | K=build/sm121dis-kernels |
| 5 | if sh tools/sm121dis/check.sh build/sm121dis_red "$K" build/sm121dis-red > build/sm121dis-red.log 2>&1; then |
| 6 | echo "RED CHECK BROKEN: the faulty decoder passed"; exit 1 |
| 7 | elif ! grep -q '^VERDICT FAIL' build/sm121dis-red.log; then |
| 8 | echo "RED CHECK BROKEN: the faulty decoder's run did not reach a verdict"; tail -3 build/sm121dis-red.log; exit 1 |
| 9 | fi |
| 10 | echo "red check: the faulty decoder FAILS the comparison, as it must ($(grep -c '^\[FAIL\]' build/sm121dis-red.log) kernels)" |
| 11 | sed -n '/^kernels:/,$p' build/sm121dis-red.log |