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_nvrm_lifecycle_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_nvrm_lifecycle_gates.sh` 32 lines ยท 1103 bytes Raw Blame History 1 #!/bin/bash 2 # tests/run_nvrm_lifecycle_gates.sh -- M19R nvrm_free()/wait_marker_ge() lifecycle gates. 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 "=== M19R NVRM Lifecycle 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 lifecycle_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/lifecycle_gates.c -o build/lifecycle_gates 24 25 echo " lifecycle_gates built cleanly." 26 27 echo -e "\n[*] Running lifecycle_gates under GPU lock ($GB10_LOCK)..." 28 gb10_lock_acquire 29 ./build/lifecycle_gates 30 gb10_lock_release 31 32 echo -e "\n=== M19R NVRM Lifecycle Gates: done ==="