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 / evidence / SMI-UTIL-2026-11-06 / README.md
| 1 | <!-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception --> |
| 2 | # SMI-UTIL-2026-11-06: cudapp-smi utilization host receipts |
| 3 | |
| 4 | Machine: DGX Spark GB10 (sm_121), driver 580.173.02, Linux aarch64. |
| 5 | Paths under the user's home are written as `~`. |
| 6 | |
| 7 | Compilers: |
| 8 | |
| 9 | - candidate: aien-dev/omega-mv#1048 (`fix/devcall-param-cap-1042` at |
| 10 | `e9b635875e6d43314aedc9d85f25c8f65636ac3d`), omc sha256 |
| 11 | `390629fd22590aaefca852045f8b0ace86c62cefb3b1bc203ce400773c8abc2f`, devcall |
| 12 | bound 1048576 bytes. PROPOSED: not merged, needs Drake's approval. |
| 13 | - base: omega-mv `e5b32567`, omc sha256 |
| 14 | `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. |
| 15 | |
| 16 | The runs below used the working tree committed as `2767411` on |
| 17 | `feat/cudapp-smi-util` (no source change between the runs and the commit). |
| 18 | |
| 19 | ## Host tier (`host-run.log`) |
| 20 | |
| 21 | ```sh |
| 22 | taskset -c 10-14 nice -n 10 sh tests/smi/run.sh <candidate omc> <base omc> |
| 23 | ``` |
| 24 | |
| 25 | rc 0, last line `CUDAPP-SMI HOST PASS`. Mutants caught 22/22 (8 new for |
| 26 | utilization). The devcall bound probe made a 55888-byte devcall on `/dev/null` |
| 27 | (not a GPU device) and got ENOTTY under the candidate; under the base omc it |
| 28 | trapped 3 (exit 103). Fake RM: default report `utilization.gpu=42`, |
| 29 | `utilization.memory=13`; faults w (NOT_SUPPORTED), e (count 0) and z (zero |
| 30 | timestamp) print `[N/A]`; y (0x1b) exits 31; r (tracker 72) and x (util |
| 31 | 10001) exit 32. |
| 32 | |
| 33 | Controls on the same tree: `run.sh <base omc>` rc 69 (REFUSED, wrong pin); |
| 34 | `run.sh` with no argument and no `CUDAPP_SMI_OMC` rc 77 (NOT_RUN); |
| 35 | `make test-smi` without `CUDAPP_SMI_OMC` rc 2 (NOT_RUN); |
| 36 | `make test-smi CUDAPP_OMC_HOST=1 CUDAPP_SMI_OMC=<candidate> OMEGA_OMC=<base>` |
| 37 | rc 0, last line `CUDAPP-SMI HOST PASS`. |
| 38 | |
| 39 | ## Live read-only tier (`live-*`) |
| 40 | |
| 41 | ```sh |
| 42 | taskset -c 10-14 nice -n 10 sh tests/smi/live.sh <candidate omc> OUTDIR |
| 43 | ``` |
| 44 | |
| 45 | rc 0, last line `CUDAPP-SMI LIVE PASS (20 fields)`. `cudapp-smi` ran without |
| 46 | `--rm` and opened no device; `utilization.gpu` and `utilization.memory` are |
| 47 | `[N/A]` there and RM_NOT_RUN in `live-compare.tsv` (nvidia-smi: `0 %`, `0 %`). |
| 48 | `live.sh <base omc>` rc 69 (REFUSED). |
| 49 | |
| 50 | ## Not run |
| 51 | |
| 52 | Live `--rm` (opens `/dev/nvidiactl` and `/dev/nvidia0`): NOT_RUN, needs an |
| 53 | authorized spark-window. Chip qualification: NOT_RUN. |