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 / om / dnn-activations / CHIP.md

66 lines · 3479 bytes Raw Blame History Rendered
1# Activation chip qualification: NOT_RUN
2
3No GPU execution was authorized for this slice. Host simulation and successful
4encoding are not hardware qualification. Do not run this procedure from an agent
5session without a current operator-authorized exclusive GB10 window.
6
7## Prerequisites and safety
8
9The operator owns GPU scheduling and service coordination. Follow the current
10GPU-window authorization procedure, including an exclusive window and a fresh
11live-service check. A lock-file state is not permission. Do not disturb serving
12ports, modules or watchdogs; do not use pkill/killall. If the required window is
13not available, record NOT_RUN and stop without opening the device.
14
15Use the exact candidate commit and the seeded compiler/bridge pinned by
16`om/units.sh`. Record `git rev-parse HEAD`, `uname -a`, the compiler SHA256,
17bridge revision, GPU/driver identity and window authorization in a new dated
18evidence directory. Never overwrite historical evidence. The supported chip is
19GB10 sm_121 with the repository's supported open driver version. Stop on a
20mismatch rather than widening the qualified-chip table.
21
22## Host prerequisites (no device access)
23
24```sh
25bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 make -j3 test-gpu-dnn-activations test-gpu-dnn-activations-mutants
26bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 make -j3 build/gpu_dnn_activations_chip_test
27```
28
29Set the compiler/bridge environment exactly as described in README.md before
30running the mutation target. The normal host executable cannot enter chip mode.
31The separate chip executable requires `--chip`. Both link session wrappers;
32only the explicitly compiled chip runner in `--chip` mode forwards those wrappers
33to the real session functions. Under `--sim`/`--quick`, any call to session
34open/lock/unlock/free or allocation aborts before forwarding. Only the separate
35explicit `--shell-contract` mode uses an isolated fake backend to test NULL and
36non-NULL open semantics; it never enters the real driver.
37
38## Operator-only chip command
39
40Only after checking the authorization at the point of execution:
41
42```sh
43taskset -c 10-14 nice -n 10 ./build/gpu_dnn_activations_chip_test --chip
44```
45
46Capture stdout, stderr, exit code and the exact command in the new receipt.
47Expected exit code is 0. Expected final line is:
48
49```
50dnn-activations chip: PASS (4 operators, 3 types, tails, independent double references, refusal-before-open, wrong-result control)
51```
52
53The runner exercises all four operations and three storage formats with counts
541,2,7,31,32,33,64,65,513,65535. It includes both signed zeros, positive/negative
55small values, positive/negative saturation and largest finite storage values.
56Each launch compares f32 output with the independent double reference under the
57README tolerance. A deliberately wrong reference must disagree. Refused shapes
58are checked before valid launches. Any failed value, nonfinite output, nonzero
59exit, timeout, device fault or sentinel failure is FAIL, not a reason to loosen
60tolerance. Stop; preserve the receipt and diagnose before any authorized rerun.
61An interrupted/killed run is INCONCLUSIVE, not PASS.
62
63This command's correctness sweep does not measure performance. It does not
64qualify maximum-count allocations, every finite input, other GPUs, every driver,
65or whole-model inference. Record those as NOT_RUN. No merge/deployment/status
66upgrade follows automatically from a successful chip run.