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 / device-trace / emitter-host-20261026 / receipt.json
| 1 | { |
| 2 | "schema": "cudapp.device-trace.emitter-receipt.v1", |
| 3 | "issue": "https://github.com/aien-dev/CUDApp/issues/82", |
| 4 | "consumer": "https://github.com/aien-dev/omega-mv/issues/778", |
| 5 | "contract": "docs/device-trace/CONTRACT.md v1 (PR #83, proposed; implemented as written, no field changed)", |
| 6 | "run": "2026-10-26 host checks, no GPU", |
| 7 | "scope": { |
| 8 | "in": ["native/blackwell/trace-emit.om", "tests/device-trace/emitter-test.om", "tests/device-trace/expected.sass", "tests/device-trace/run-emitter-checks.sh"], |
| 9 | "out": ["native/blackwell/trace.om (dot, PR #83)", "docs/device-trace/* (dot, PR #83)", "Omega #778 reader", "vector.om/launch.om/context.om", "any C kernel", "NVTXD/NVTOOLSEXT/PTX/libcuda paths"] |
| 10 | }, |
| 11 | "source": { |
| 12 | "native/blackwell/trace-emit.om": "d00dfe161a0a048c4ad1817b39b93dcc252e743a4430578c911706566a1c129b", |
| 13 | "tests/device-trace/emitter-test.om": "e63128049279b9aa0c65a15d25b396b47b5d2f7578174eed09c4509dc5cd8c12", |
| 14 | "tests/device-trace/expected.sass": "d9fb8b005044531fd8b2184e53fc531d2075457aa0ac5bcf47e522221ad7d4d9", |
| 15 | "tests/device-trace/run-emitter-checks.sh": "593bbcbf0230a39f1ae201987202bde52f6cbf551d2cde9c351e70a8bfb00fad", |
| 16 | "repo_base": "aien-dev/CUDApp a520cd30e54c3b0ddd553ee3ccb3f5e673345cd6" |
| 17 | }, |
| 18 | "compiler": { |
| 19 | "path": "seed/out/omc (omega feat/allen-imac-competition c3fb79697)", |
| 20 | "sha256": "c99eda2465036c0637a444689a65dd7fc736e4fa8a8b4cf3456b0ce1b57f8996" |
| 21 | }, |
| 22 | "oracle": { |
| 23 | "tool": "nvdisasm 13.0 (outside the delivered closure; host-only)", |
| 24 | "target": "SM121 raw instruction stream", |
| 25 | "binary_sha256_prefix": "bc40070d596fa49b" |
| 26 | }, |
| 27 | "commands": [ |
| 28 | "OMEGA_COMPILER=<seed>/seed/out/omc sh tests/device-trace/run-emitter-checks.sh --update", |
| 29 | "OMEGA_COMPILER=<seed>/seed/out/omc sh tests/device-trace/run-emitter-checks.sh" |
| 30 | ], |
| 31 | "results": { |
| 32 | "host_checks": {"checks": 25, "failures": 0, "exit": 0}, |
| 33 | "emitted": {"instructions": 40, "bytes": 640, "meaning": "two 20-instruction mark blocks, empty kernel between"}, |
| 34 | "decode": {"verdict": "MATCH", "golden": "tests/device-trace/expected.sass"}, |
| 35 | "disabled_identity": "PASS (byte-for-byte copy of the input words, no prologue, no stores)", |
| 36 | "refusals": {"capacity_below_two": 1, "capacity_above_64": 2, "input_not_whole_instructions": 3, "enabled_without_checks": 4} |
| 37 | }, |
| 38 | "instruction_slice": [ |
| 39 | "ISETP.GE.AND P0, PT, R0, 0x1, PT -- select thread 0 only", |
| 40 | "@P0 BRA past the block -- non-selected lanes never reach the stores; no barrier used for ordering", |
| 41 | "LDCU.64 UR4, c[0x0][0x358] -- global memory descriptor", |
| 42 | "S2R R2, SR_GLOBALTIMERLO -- device clock, low 32 bits", |
| 43 | "LDC.64 base/gen/kernel from c[0x0][0x400/0x410/0x418]", |
| 44 | "IMAD.SHL record address base + 0x40 (site 1) / 0x80 (site 2); IMAD.MOV high half copy", |
| 45 | "8 x STG.E dwords: site, kind, sequence, raw stamp, generation (2), kernel (2)" |
| 46 | ], |
| 47 | "limitations": [ |
| 48 | "Record fields cta/warp/lane/payload stay zero and generation/kernel come from the constant bank; the host must zero the extent and initialise the header before launch, then finalise status after completion.", |
| 49 | "Runtime overflow is not exercised: exactly two fixed records are emitted, so a capacity below two is refused at emission (code 1) instead of dropping at runtime. Dynamic sequence counting, saturating dropped counters and partial status need the next slice.", |
| 50 | "Record offsets are added to the low 32 bits of the trace base with no carry propagation: the host buffer must not cross a 4 GiB boundary at any record offset.", |
| 51 | "Clock units, resolution, cross-SM comparability and CPU correlation are UNKNOWN. GLOBALTIMER low 32 bits is a reference, not a qualified 64-bit clock; wrap is 2^32 ticks and any interval at or beyond 2^31 ticks is ambiguous and must be refused by the consumer.", |
| 52 | "The enabled path is gated: gtewrap refuses with code 4 unless the host sets gtchecks, so no launch can use it before the chip checks exist.", |
| 53 | "No barrier, fence or wait was added. Marker order is issue order, not completion order; markers around a region do not prove the region completed between them.", |
| 54 | "One selected lane of one CTA is not representative of other lanes, warps or CTAs." |
| 55 | ], |
| 56 | "not_run": { |
| 57 | "GB10_execution": "NOT_RUN - no hardware window requested or granted", |
| 58 | "qmd_and_launch_wiring": "NOT_RUN", |
| 59 | "paired_off_on_overhead": "NOT_RUN", |
| 60 | "chip_overflow_and_repeatability": "NOT_RUN" |
| 61 | } |
| 62 | } |