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/evidence/NVML-2026-11-06/README.md # 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 / evidence / NVML-2026-11-06 / README.md` 50 lines · 2467 bytes Raw Blame History Rendered 1 2 # NVML subset host tier, 2026-11-06 3 4 Branch `feat/cudapp-nvml` (CUDApp), base `feat/cudapp-smi` (#286, `85f48ad`). 5 Compiler: omc at omega-mv `e5b32567`, sha256 6 ``2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f``; 7 omega-bridge `bc11b30b` (`bridge-seeded` frontend `23ff7a23`…). Every command ran 8 inside a device-free namespace on cores 10-14: 9 10 ```sh 11 W="bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10" 12 $W make test-nvml OMEGA_OMC=$OMC OMEGA_BRIDGE=$BRIDGE # rc 0, CUDAPP-NVML HOST PASS 13 env -u OMEGA_OMC -u OMEGA_BRIDGE $W make test-nvml # rc 2, NOT_RUN 14 OMEGA_OMC= $W sh tests/nvml/run.sh # rc 69, REFUSED (omc digest) 15 env -u OMEGA_OMC -u OMEGA_BRIDGE $W sh tests/nvml/run.sh # rc 77, NOT_RUN 16 ``` 17 18 `commands.txt` has the rc and last line of each; the logs are beside it 19 (home directory written as `~`). 20 21 ## Verdicts 22 23 | Tier | Verdict | 24 | --- | --- | 25 | Committed generated C (`src/cudapp_om_nvml_{step,errstr}.c`) fresh against the `.om` | PASS | 26 | Fake resource manager (`tests/nvml/rmfake.om` behind `tests/nvml/transport.c`) | PASS, 476 checks | 27 | Error-string oracle negative control (one oracle row altered) | PASS: the run fails 1 of 476 | 28 | ABI: 55 sizes, offsets and values, `compat/nvml/nvml.h` vs CUDA 13.0 `nvml.h` | PASS | 29 | Shell compiles against NVIDIA's prototypes (header only) | PASS | 30 | Thin-shell guard, and its negative control (a shell calling `ioctl`) | PASS | 31 | Mutants of `native/nvml/*.om` | 22/22 caught | 32 | Live resource manager (`/dev/nvidiactl`, `/dev/nvidia0`) | NOT_RUN: no authorized GPU window | 33 | GB10 chip | NOT_RUN | 34 35 The fake transport replaces `omega2_nvrm_*` at link time, so no test opens a 36 device; the bwrap namespace (empty `/dev`) makes that hold by construction. 37 38 ## Oracle provenance 39 40 `tests/nvml/errstr-oracle.tsv` holds 37 rows (codes −1, 0..32, 999, 1000, 41 `4294967295`). It was captured on this Spark with Python `ctypes` calling 42 `nvmlErrorString` from `/usr/lib/aarch64-linux-gnu/libnvidia-ml.so.580.173.02` 43 without `nvmlInit` (the call opens no device). The library is used only as 44 that oracle; nothing in CUDA++ links or loads it. 45 46 ## Constants 47 48 `wolfram.txt`: every derived constant (packed path words, buffer offsets, 49 command values in hex, fake RM values, two's-complement errno words, packed 50 error strings) with the Wolfram Language query and its result.