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/CUDApp/blob/main/tools/prof/chip.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / tools / prof / chip.sh` 13 lines · 1092 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 # Chip tier for the Omega profiler. This script does not open a GPU device node. 4 # It is a refusal plus the runbook for a later Drake-authorized window. 5 set -eu 6 echo "NOT_RUN chip: profiler host and simulator tiers do not open a GPU." 7 echo "Runbook, Drake-authorized exclusive window only, after the current GPU lock procedure:" 8 echo "1. Build a command list with OmegaGpuCmdListOpts.stamps = 1. That asks Streams' emitter for one 6-word REPORT_SEMAPHORE per slot (method 0x0158, count 5)." 9 echo "2. Submit the list. omega_gpu_cmdlist_stamps returns one u64 timestamp per slot: out[0] before launch 0, out[i+1] after launch i." 10 echo "3. Pack the raw 16-byte slots (u64 payload, u64 timestamp) and the kernel descriptors into a PROF fixture. tools/prof/write_fix.c is the 176-byte layout." 11 echo "4. Run the pinned profiler: prof report . Exit 0, and time_ns must match the stamps() deltas. A fixture with two slots swapped must exit 3." 12 echo "5. This script is not that measurement. It always exits 2." 13 exit 2