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 / CUDAPP-SM121-MMIO / c697-final-host / bindings-and-encoder-contracts.log

77 lines · 5064 bytes Raw Blame History
1OMEGA_OMC="<pinned-omega>/seed/out/omc" OMEGA_BRIDGE="<pinned-bridge>" sh om/units.sh --check
2generating native unit bw_enc_sm121
3generating native unit cubin_elf
4generating native unit repack
5generating native unit quant_wire
6generating native unit compose
7generating native unit encode
8generating native unit cache_runtime
9generating native unit lease
10generating native unit slotrev
11generating native unit command
12generating native unit validate
13generating native unit digest
14generating native unit code_digest
15generating native unit templates
16generating native unit graph
17generating native unit context_lookup
18generating native unit binding
19generating native unit moe_plan
20generating native unit moe_group
21generating native unit moe_ids32
22generating native unit moe_maps32
23generating native unit moe_segs32
24generating native unit moe_windows
25generating native unit moe_admission
26generating native unit closure_pack
27generating native unit closure_bind
28generating native unit closure_blob
29generating native unit closure_cover
30generating native unit closure_intent
31generating native unit closure_seal
32generating native unit closure_code
33generating native unit closure_launch
34generating native unit closure_dir
35generating native unit closure_alloc
36generating native unit closure_series
37generating native unit revision
38generating native unit epoch
39PASS src/{cudapp_om_units.c,cudapp_freest_units.c,cudapp_native.h,cudapp_om_units.ident} regenerate byte for byte
40gcc -std=gnu11 -O2 -Wall -Wextra -Werror -pthread -Isrc -o build-c697-final/om-encoder/codegen_om tests/test_omega_codegen_freestanding.c src/omega_blackwell_codegen.c src/omega_blackwell_matmul.c src/sha256.c src/cudapp_om_units.c
41gcc -std=gnu11 -O2 -Wall -Wextra -Werror -pthread -Isrc -DCUDAPP_MIGRATION_PENDING_ENCODER_DIFF -o build-c697-final/om-encoder/codegen_diff tests/test_omega_codegen_freestanding.c \
42 src/omega_blackwell_codegen.c src/omega_blackwell_matmul.c src/sha256.c src/cudapp_om_units.c
43gcc -std=gnu11 -O2 -Wall -Wextra -Werror -pthread -Isrc -DCUDAPP_MIGRATION_PENDING_ENCODER_DIFF -DCUDAPP_ENCODER_DIFF_SELFTEST -o build-c697-final/om-encoder/codegen_diff_red \
44 tests/test_omega_codegen_freestanding.c src/omega_blackwell_codegen.c src/omega_blackwell_matmul.c src/sha256.c src/cudapp_om_units.c
45build-c697-final/om-encoder/codegen_om --golden
46PASS: hosted golden-word fixtures through the .om encoder (0 failing checks)
47rm -f build-c697-final/om-encoder/diff.log
48CUDAPP_ENCODER_DIFF_LOG=build-c697-final/om-encoder/diff.log build-c697-final/om-encoder/codegen_diff --golden
49PASS: hosted golden-word fixtures through the .om encoder (0 failing checks)
50CUDAPP_ENCODER_DIFF_LOG=build-c697-final/om-encoder/diff.log build-c697-final/om-encoder/codegen_diff --dump > build-c697-final/om-encoder/dump_diff.txt
51encoder diff: .om and C byte-identical on 68 golden instructions and 14 fixture programs
52red check: one flipped bit aborts the encoder diff, as it must
53sh tools/test_bw_spec_encoder.sh
54[spec-encoder] 1. Compiling and running standalone specification assertions...
55[spec-encoder] PASS: native unit test compiled (51948 bytes) and passed all internal assertions (exit 0)
56[spec-encoder] 2. Building temporary reference runner for bw_enc_sm121.om...
57[spec-encoder] 3. Parsing authoritative specification from bw_spec_sm121.om...
58[spec-encoder] Parsed 63 instruction forms from single specification.
59[spec-encoder] 4. Running verification (a): byte-identity on boundary corpus against bw_enc_sm121.om...
60[spec-encoder] PASS: (a) spec-driven encoder matches bw_enc_sm121.om on all 461 boundary cases byte-for-byte!
61[spec-encoder] 5. Running verification (b): decode(encode(x)) == x round trip...
62[spec-encoder] PASS: (b) decode(encode(x)) == x passed on all 461 corpus instructions!
63[spec-encoder] 6. Running verification (c): nvdisasm disassembler oracle cross-check...
64[spec-encoder] oracle verified: op 0 -> /*0000*/ NOP;
65[spec-encoder] oracle verified: op 8 -> /*0000*/ IMAD R0, R1, R2, R3 ;
66[spec-encoder] oracle verified: op 30 -> /*0000*/ FADD R4, R5, R6 ;
67[spec-encoder] oracle verified: op 11 -> /*0000*/ LDG.E R10, desc[UR5][R12.64] ;
68[spec-encoder] oracle verified: op 46 -> /*0000*/ BRA 0x100 ;
69[spec-encoder] PASS: (c) nvdisasm oracle matches mnemonic and instruction layout on sample instructions!
70[spec-encoder] 7. Running verification (d): negative controls...
71[spec-encoder] PASS: mutant spec with shifted field offset fails byte identity (mutant=0x57202 vs ref=0x57201)
72[spec-encoder] PASS: out-of-range register 256 refused with declared error E_RANGE (code 2)
73[spec-encoder] PASS: invalid word pattern refused with declared error E_NOMAT (code 3)
74[spec-encoder] PASS: corrupted expected byte fails byte-identity comparison (exit 1)
75[spec-encoder] PASS: audit raw ranges, absent RZ parity, cold decode, active-operand mutant, read error and truncated records
76FAIL: native bridge source pin mismatch
77make: *** [mk/om-encoder.mk:65: test-om-spec-encoder] Error 1