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/physics-mv/blob/main/tests/run_submission_visibility_gates.sh # physics-mv FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence. 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 `physics-mv / tests / run_submission_visibility_gates.sh` 37 lines ยท 1361 bytes Raw Blame History 1 #!/bin/bash 2 # tests/run_submission_visibility_gates.sh -- GB10 CPU-published queue entries and rewritten command buffers. 3 set -euo pipefail 4 5 SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P) 6 REPO_ROOT=$(cd "$SCRIPT_DIR/.." && pwd -P) 7 . "$SCRIPT_DIR/gb10_lock.sh" 8 9 cd "$REPO_ROOT" 10 11 echo "=== GB10 Submission Visibility Gates ===" 12 echo "Timestamp: $(date -u +"%Y-%m-%dT%H:%M:%SZ")" 13 echo "Host: $(uname -n) ($(uname -m))" 14 15 mkdir -p build 16 echo -e "\n[*] Building submission_visibility_gates..." 17 gcc -O2 -Wall -Wextra -Werror \ 18 -I./nvrm -I./m16 \ 19 -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc \ 20 -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc \ 21 -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm \ 22 -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include \ 23 nvrm/nvrm.c m16/m16_native.c nvrm/submission_visibility_gates.c -o build/submission_visibility_gates 24 25 echo " submission_visibility_gates built cleanly." 26 27 if [ ! -e /dev/nvidia0 ]; then 28 echo "SKIP: /dev/nvidia0 not present; submission visibility gates need the GB10 (build above succeeded)." 29 exit 0 30 fi 31 32 echo -e "\n[*] Running submission_visibility_gates under GPU lock ($GB10_LOCK)..." 33 gb10_lock_acquire 34 ./build/submission_visibility_gates 35 gb10_lock_release 36 37 echo -e "\n=== GB10 Submission Visibility Gates: done ==="