interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / evidence / C6-DISASM-OM / s04.sh

11 lines · 674 bytes Raw Blame History
1#!/bin/sh
2# t_81083ab1 step 04: the test-sm121dis red check: the C oracle with the planted fault must FAIL check.sh
3set -u
4K=build/sm121dis-kernels
5if 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
7elif ! 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
9fi
10echo "red check: the faulty decoder FAILS the comparison, as it must ($(grep -c '^\[FAIL\]' build/sm121dis-red.log) kernels)"
11sed -n '/^kernels:/,$p' build/sm121dis-red.log