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 / evidence / HW-MANIFEST-20261107T0539Z / README.md

44 lines · 2345 bytes Raw Blame History Rendered
1# HW-MANIFEST-20261107T0539Z: hardware capability manifest gate
2
3Status: CHIP_TESTED on two devices of one DGX Spark (`spark-b87b`, Linux 7.0.0-1019-nvidia aarch64):
4the Cortex-X925 at processor 19 (`midr_el1=0x410fd851`) and the Nuvoton NPCT75x TPM 2.0 at
5`/dev/tpmrm0` (manufacturer `0x4e544300`, firmware `0x00070002.0x00040001`, revision 1.59).
6One run, one machine: EXERCISED, not QUALIFIED. The GPU was not opened. Every other register row is
7unchanged by this run (`backend/hw/manifest.tsv`).
8
9Source: CUDApp `b774723f537cec16a359fe082b8100317a5b5490` plus the files of this change; digests in
10`outputs.sha256`. Device identity: `identity.txt` (hostname, `lscpu`, per-processor MIDR,
11`nvidia-smi -L`, `tpm2_getcap properties-fixed`, tpm2-tools version).
12
13## Command
14
15```
16HW_OUT=/tmp/cudapp-hw-20261107T0539Z flock -o <cpu-pool lock> taskset -c 19 nice -n 10 \
17 sh tests/hw/run.sh <abs>/omc -> run.log, exit 0
18```
19
20## Result (run.log)
21
22`HW pass=71 fail=0 not_run=2`. Per-check output: `logs/<check>.log`.
23
24CPU oracles were computed in the Wolfram Language, not by the code under test:
25
26```
27ss[n_]:=Mod[Sum[i^2,{i,0,n-1}],2^64]
28fnv[n_]:=Fold[Mod[BitXor[#1,#2]*1099511628211,2^64]&,14695981039346656037,Mod[Range[0,n-1],251]]
29{ss[1],ss[1000],ss[16777216],fnv[1],fnv[1000],fnv[1000000]}
30-> {0,332833500,6148773953750958080,12638153115695167455,10432030352173600877,4529795169249947525}
31```
32
33TPM properties were compared with `tpm2_getcap properties-fixed` (tpm2-tools, an independent ESAPI
34client); two 32-byte `TPM2_GetRandom` results were required to differ.
35
36Negative controls (each exits with its class): 12 mutated manifests (exit 3) plus an absent one (74);
37unknown target 4; unsupported operation and fault kind 5; not admitted, GPU without a spark-window lease,
38and runner/route authority mismatch 6; stale generation replay, wrong-target handle and corrupt handle 7;
39MIDR and TPM manufacturer mismatch 8; handle locked by another process 9; absent node 10; zero budget 11
40(CPU and TPM); wrong oracle value 12; invalid argument and generation 14. TPM `badsize` was refused by
41the kernel (`-22`), `badcc` by the TPM (`rc=0x143`, TPM_RC_COMMAND_CODE).
42
43NOT_RUN: the unpinned-process control (needs a CPU set wider than the one allotted processor) and the
44Cortex-A725 row (no A725 processor allotted).