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 / uxl-brief-20261113 / archive / amd-repeat-20261113T1907Z / uxl-l3.sh
| 1 | # Brief section 6 Level 3, literal commands, then same-session references |
| 2 | cd /workspace/uxl |
| 3 | while ! grep -q PRE_DONE pre.log; do sleep 5; done |
| 4 | grep -q 'PREPARE_RC=0' pre.log || { echo PREPARE_FAILED; exit 1; } |
| 5 | cd CUDApp/evidence/amd-qwen38-native-20261113 |
| 6 | export AMDSERVE_WEIGHTS=/tmp/qwen3.8-27b-fp8 |
| 7 | set -x |
| 8 | date -u +%FT%TZ |
| 9 | mkdir out |
| 10 | python3 oracle/emit-plan.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" out/real2.plan --capacity=131072 --fixture-json=oracle/lighthouse256.json; echo "EMIT_RC=$?" |
| 11 | python3 oracle/check-plan.py out/real2.plan "$AMDSERVE_WEIGHTS"; echo "CHECK_RC=$?" |
| 12 | sha256sum out/real2.plan |
| 13 | python3 oracle/emit-plan.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" out/real2-controls.plan --controls --capacity=131072 --fixture-json=oracle/lighthouse256.json; echo "EMITC_RC=$?" |
| 14 | python3 oracle/check-plan.py out/real2-controls.plan "$AMDSERVE_WEIGHTS"; echo "CHECKC_RC=$?" |
| 15 | sha256sum out/real2-controls.plan |
| 16 | cut -c1-700 out/real2.plan.cmd |
| 17 | ls -la out out/code | head -40 |
| 18 | cp /workspace/uxl/launch-x86 out/omega-launch |
| 19 | cd out |
| 20 | for r in warmup run1 run2 run3 run4 run5; do |
| 21 | echo "$r start $(date -u +%FT%T.%NZ) $(date +%s.%N)" |
| 22 | PATH="$PWD:$PATH" sh real2.plan.cmd > /workspace/uxl/uxl-native-$r.txt 2> /workspace/uxl/uxl-native-$r.err; echo "$r rc=$?" |
| 23 | echo "$r end $(date -u +%FT%T.%NZ) $(date +%s.%N)" |
| 24 | grep -c OMEGA_STEP /workspace/uxl/uxl-native-$r.txt; tail -c 300 /workspace/uxl/uxl-native-$r.err |
| 25 | done |
| 26 | echo "control start $(date +%s.%N)" |
| 27 | PATH="$PWD:$PATH" sh real2-controls.plan.cmd > /workspace/uxl/uxl-native-control.txt 2> /workspace/uxl/uxl-native-control.err; echo "control rc=$?" |
| 28 | echo "control end $(date +%s.%N)" |
| 29 | echo NATIVE_DONE |
| 30 | date -u +%FT%TZ |
| 31 | cd .. |
| 32 | python3 oracle/lighthouse-oracle.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" oracle/lighthouse256.json graph /workspace/uxl/uxl-graph-fresh.json --capacity=131072 > /workspace/uxl/uxl-graph-fresh.txt 2>&1; echo "GRAPH_RC=$?" |
| 33 | tail -3 /workspace/uxl/uxl-graph-fresh.txt | cut -c1-600 |
| 34 | date -u +%FT%TZ |
| 35 | python3 oracle/lighthouse-oracle.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" oracle/lighthouse256.json reference /workspace/uxl/uxl-reference-fresh.json --capacity=131072 > /workspace/uxl/uxl-reference-fresh.txt 2>&1; echo "REFERENCE_RC=$?" |
| 36 | tail -3 /workspace/uxl/uxl-reference-fresh.txt | cut -c1-600 |
| 37 | date -u +%FT%TZ |
| 38 | echo L3_DONE |