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 / uxl-brief-20261113 / archive / level2-rebuild / logs / runD-more.sh

26 lines · 2113 bytes Raw Blame History
1D=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild
2echo "=== D1: same symlink-farm PATH as the qemu-absent run, plus qemu-x86_64 (shows the farm itself is not the cause) ==="
3cd $D/C/CUDApp
4git checkout -q -- evidence/amd-qwen38-native-refusal-20261113/native/sample1.stdout; git status --short; echo "### tree restored rc=$?"
5rm -rf build
6cp -a ../noqemu-bin ../withqemu-bin && ln -s /usr/bin/qemu-x86_64 ../withqemu-bin/qemu-x86_64
7WQ=$(realpath ../withqemu-bin)
8t0=$(date +%s.%N)
9env PATH="$WQ" python3 -I tests/amd-kfd-launch/check.py "$(realpath ../../B/omega-mv/seed/out/omc)" > ../withqemu-gate-stdout.log 2> ../withqemu-gate-stderr.log; echo "### rc=$? gate with farm PATH + qemu-x86_64"
10t1=$(date +%s.%N); echo "seconds $(echo "$t1 - $t0" | bc)"
11grep -c '^PASS ' ../withqemu-gate-stdout.log; grep -c '^FAIL ' ../withqemu-gate-stdout.log; grep -o '^AMD-KFD-LAUNCH CPU PASS {"binaries": {"a64": "[0-9a-f]*", "x86": "[0-9a-f]*"}, "checks": [0-9]*' ../withqemu-gate-stdout.log
12python3 -c "
13import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu'])"
14echo "=== D2: seed/omega-from-seed.sh in a local copy of the omega-mv clone, bounded by timeout 600 ==="
15cd $D/S
16git clone -q --no-hardlinks ../B/omega-mv omega-mv; echo "### rc=$? local clone"
17git -C omega-mv checkout -q 2ee0a70d1830581b706f288e722f3329d51f3583; git -C omega-mv rev-parse HEAD
18cd omega-mv
19sha256sum seed/out/omc
20mv seed/out/omc ../omc.checked-in; echo "### moved checked-in omc aside rc=$? (so a pass cannot come from the committed file)"
21t0=$(date +%s.%N)
22timeout 600 sh seed/omega-from-seed.sh > ../from-seed.log 2>&1; echo "### rc=$? sh seed/omega-from-seed.sh (124 = hit the 600 s bound)"
23t1=$(date +%s.%N); echo "seconds $(echo "$t1 - $t0" | bc)"
24tail -25 ../from-seed.log | cut -c1-200
25sha256sum seed/out/omc ../omc.checked-in; cmp seed/out/omc ../omc.checked-in && echo "seed-built omc is byte-identical to the checked-in omc"
26git status --short | head -10; echo "### git status lines above (none = tracked files unchanged)"