Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/evidence/C6-DISASM-OM/s05.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / C6-DISASM-OM / s05.sh` 20 lines · 1102 bytes Raw Blame History 1 #!/bin/sh 2 # t_`81083ab1` step 05: the test-sm121dis differential (every corpus word, .om vs C), its red check, then the 3 # flipped-bit control. Same commands as mk/sm121dis.mk test-sm121dis. 4 set -u 5 K=build/sm121dis-kernels 6 ulimit -c 0 7 n=0 8 for f in "$K"/*.bin; do 9 n=$((n + 1)); rc=0 10 build/sm121dis_diff --pairs "$f" > /dev/null 2> build/sm121dis-diff.err || rc=$? 11 if [ $rc != 0 ]; then echo "FAIL .om vs C decoder differential on $f (exit $rc)"; head -3 build/sm121dis-diff.err; exit 1; fi 12 done 13 echo "decoder differential: .om and migration-pending C decoders agree on every word of $n kernels" 14 rc=0 15 build/sm121dis_diff_red --pairs "$(ls "$K"/*.bin | head -1)" > /dev/null 2> build/sm121dis-diff-red.err || rc=$? 16 if [ $rc -le 128 ] || ! grep -q '^DISASM DIFFER' build/sm121dis-diff-red.err; then 17 echo "RED CHECK BROKEN: the differential did not abort on a flipped bit (exit $rc)"; exit 1; fi 18 echo "red check: one flipped bit aborts the decoder differential, as it must (exit $rc)" 19 head -1 build/sm121dis-diff-red.err 20 time sh tools/sm121dis/negctl.sh build/sm121dis "$K" build/sm121dis-work