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 / MAX-INTEROP / 68 / RESULT.md
| 1 | # CUDApp #68/#69 — native artifact and cubin export, host result |
| 2 | |
| 3 | Source: `src/omega_cubin.{c,h}`, `src/omega_native_artifact.{c,h}`, |
| 4 | `tools/artifact_export.c`, `tests/gpu_artifact_export_test.c`, |
| 5 | `tools/artifact_smoke.sh`, `tools/interop/cubin_probe.c`. |
| 6 | |
| 7 | ## Commands and results |
| 8 | ``` |
| 9 | make -j8 test-native-artifact |
| 10 | # test_gpu_artifact_export: 47 checks, 0 failed |
| 11 | |
| 12 | ./tools/artifact_smoke.sh evidence/MAX-INTEROP/68 |
| 13 | # ARTIFACT SMOKE PASS (nvdisasm + cuobjdump accept both cubins) |
| 14 | |
| 15 | ./build/artifact-export matmul --m 16 --k 16 --n 8 \ |
| 16 | --contract-id 647116fc... --out evidence/MAX-INTEROP/68/matmul-16x16x8 |
| 17 | # artifact_id=7c5ab77748c1cd29a50b9cb91efcce6d8200eb30646ce88142f31ba4d7d5544c |
| 18 | |
| 19 | ./build/artifact-export attention --q-heads 8 --kv-heads 1 \ |
| 20 | --contract-id 003696e4... --out evidence/MAX-INTEROP/68/attention-hd128-gqa8 |
| 21 | # artifact_id=48eac870570fd978aa011973bfc3407fedc6de2f1f1fbe1fb943cc96c9f95c22 |
| 22 | ``` |
| 23 | |
| 24 | Both cubins are sm_121 ELF (`e_machine=190`, `e_flags=0x6007902`), carry the |
| 25 | generated text byte-for-byte, bind text/QMD/cbank/SHA-256, contract id, |
| 26 | semantic spec id, shape, bounds, numeric tolerance, driver minimum and |
| 27 | provenance, and contain no device address (zero-VA QMD templates). |
| 28 | |
| 29 | `tools/interop/cubin_probe` is built and **NOT_RUN**: the chip is reserved, so |
| 30 | no `SPARK_WINDOW` exists. `cuModuleLoadData`/`cuLaunchKernel` acceptance and |
| 31 | numeric parity on GB10 are unproven. |
| 32 | |
| 33 | ## Refusals exercised |
| 34 | Deterministic re-export, tampered cubin/text/QMD, wrong ISA, PTX format, |
| 35 | live-VA QMD, stale/too-new driver, malformed contract/artifact ids, bad |
| 36 | ownership/alias/receipt (adapter), overlapping/unaligned parameters, unaligned |
| 37 | text, gpr > 255, too-small cbank, invalid function name. |