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 / om / conv2d / CHIP.md
| 1 | # Chip qualification |
| 2 | |
| 3 | NOT_RUN. No GPU authorization was granted to this lane. No device execution, |
| 4 | performance measurement, speedup, hardware accuracy or chip qualification is |
| 5 | claimed. Host simulation and generated-code checks are separate evidence tiers. |
| 6 | |
| 7 | The host acceptance executables use link-time abort guards on session open, |
| 8 | lock, unlock and free (also allocation). Their `--sim` mode cannot reach a real |
| 9 | session. The explicit `--shell-contract` mode uses a memory-only fake backend |
| 10 | solely to prove pointer-success and failed-open/failed-allocation control flow. |
| 11 | A compiled direct-open source mutant must terminate with SIGABRT under `--sim`. |
| 12 | |
| 13 | Hardware qualification remains the integrator/operator's separately authorized |
| 14 | responsibility. This lane does not run a full suite, merge or deploy. |
| 15 | |
| 16 | ## Operator-only runbook (NOT_RUN) |
| 17 | |
| 18 | 1. Obtain fresh authorization for an exclusive GPU window under the current |
| 19 | fleet procedure. Confirm the integrator-approved source revision, service |
| 20 | coexistence restrictions, device ownership and recovery plan. A historical |
| 21 | receipt or apparently free lock is not authorization. Do not stop services |
| 22 | or alter watchdogs, drivers, gates or boot settings to run this check. |
| 23 | 2. Reproduce the host acceptance and byte-for-byte generation checks first. |
| 24 | Build the distinct hardware executable without running it: |
| 25 | |
| 26 | ``` |
| 27 | bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 make -j3 build/gpu_conv2d_chip_test |
| 28 | ``` |
| 29 | |
| 30 | This binary deliberately is not linked with fake-backend wrappers. It |
| 31 | accepts only `--chip`; the normal headless binary does not accept that mode. |
| 32 | 3. Only within that authorized window, with explicit permission to expose |
| 33 | the real devices instead of the headless namespace, execute: |
| 34 | |
| 35 | ``` |
| 36 | taskset -c 10-14 nice -n 10 build/gpu_conv2d_chip_test --chip |
| 37 | ``` |
| 38 | |
| 39 | This is a future operator command, not a command authorized or executed by |
| 40 | this lane. It uploads the real image/filter/code buffers and runs all |
| 41 | storage types/layouts, grouped/depthwise/batched, padded/dilated/strided and |
| 42 | tail cases against the same independent double reference. The wrong-group |
| 43 | negative control must disagree. Any CODEGEN/CHIP error fails the check. |
| 44 | 4. Record the exact commit, compiler and generated identities, device/driver, |
| 45 | authorization receipt, command exit status and complete output. A successful |
| 46 | line is `conv2d chip: PASS (... checks, 0 failures)`. Preserve failures; |
| 47 | do not turn a missing device or aborted run into PASS, retry a full suite, |
| 48 | or weaken admission/tolerance. Restore only the state authorized by the |
| 49 | operator's recovery plan. |
| 50 | |
| 51 | No timings are collected by this correctness run. PASS here would not establish |
| 52 | a performance result or qualify an untested shape/dtype outside these cases. |