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 / s01.sh
| 1 | #!/bin/sh |
| 2 | # t_81083ab1 step 01: binaries, the corpus/check controls, then the corpus into a fresh directory |
| 3 | set -u |
| 4 | K=${1:-build/sm121dis-kernels} |
| 5 | make -s OUT_DIR=build build/sm121dis build/sm121dis_red build/sm121dis_diff build/sm121dis_diff_red \ |
| 6 | test-sm121dis-corpus-controls test-sm121dis-check-controls || exit $? |
| 7 | [ -e "$K" ] && { echo "refusing: $K exists (use a fresh name)"; exit 2; } |
| 8 | t0=$(date +%s) |
| 9 | sh tools/sm121dis/corpus.sh build "$K"; rc=$? |
| 10 | echo "corpus.sh exit $rc in $(( $(date +%s) - t0 )) s" |
| 11 | exit $rc |