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 / core-residue / 2026-11-06 / README.md

50 lines · 3531 bytes Raw Blame History Source

Core residue receipt, 2026-11-06

Branch feat/core-residue-om, stacked on #308 (feat/core-util-om @ 68c8cff). Registration is bfa721a. This directory records the residue slice. It does not replace evidence/core-util/2026-11-06/.

What #308 already moved

FileAlready Omega in #308Residue added here
sha256.com/core/sha256.om; C selected by CUDAPP_MIGRATION_PENDING_C_CORESource-derived length partition 0, 55, 56, 63, 64, 65, 128, 192 in test-core-util
src/omega_core.cobject, graph, payload, param, effect, evalnone; glue and pointer staging stay C
src/omega_vector.cvector, vecspec, vpaynone
src/omega_canonical.ccanonical, idparse and entry wrappersnone
src/omega_gpu_hostmath.chostmathnone
src/omega_gpu_fmt.cfmt, fmtnum, fmtclipnone
src/omega_cubin.com/cubin/cubin_elf.om layout; cubinmsg.om refusal textcubadmit.om target and null-parameter admission
src/omega_ampere_codegen.com/encoder/ampere_enc_sm86.omampack.om sign-extend and flag packing

Stay-C

SiteReason
omega_cubin.c malloc, free, memcpy, file staging, ELF byte stores in the C writerPointer and file I/O. The writer is the default-OFF oracle CUDAPP_MIGRATION_PENDING_C_CORE / CUDAPP_MIGRATION_PENDING_CUBIN_DIFF. ARCH-0042 keeps the cubin writer in CUDApp.
omega_cubin_rc_nameString table, not layout arithmetic.
cubin_admit message copyThe Omega unit fills a 64-byte buffer. C copies it into the caller buffer and stops at err_cap.
omega_ampere_codegen.c IR field reads and output stagingPointer I/O. Sign-extend loops remain only under CUDAPP_MIGRATION_PENDING_C_CORE.
sha256.c, omega_core.c, omega_vector.c, omega_canonical.c, omega_gpu_fmt.c, omega_gpu_hostmath.cHost staging and the explicit C oracle. Computation is already .om.

Math

WolframLanguageEvaluator: {Mod[56, 64], 128/64, 192/64, 256 + 32, BitAnd[16^^FFFFFFFF, 2147483648], 2^64 - 2^32, 2^31} -> {56, 2, 3, 288, 2147483648, 18446744069414584320, 2147483648}.

56 is the SHA padding boundary (Mod[56, 64]). 128 and 192 are two and three 64-byte blocks. 288 is BW_MAX_VREGS + BW_MAX_UVREGS. 2147483648 is the int32 sign bit. 18446744069414584320 is the high-32 sign-extend mask.

Gates

Host commands ran under bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10.

CommandrcFinal line
make -j3 test-core-residue0CORE-RESIDUE red check: one flipped image bit aborts
make -j3 test-core-util test-core-cubin-message0CORE-UTIL builders PASS: graph full boundary, every constructor and aliasing ID lookup
sh om/core/native.sh --check0CORE-UTIL standalone native inputs --check PASS
make -j3 test-core-residue-mutants0CORE-RESIDUE mutants PASS: 8 recompiled semantic mutants killed
make -j3 test-om-cubin0red check: one flipped image bit aborts the cubin diff, as it must
sh om/units.sh --check0PASS portable Omega units regenerate byte for byte
make -j3 test-ampere-encoder0Ampere encoder host fixtures: all IR opcodes, source modes, target preservation and refusals

Host tier: PASS (EXERCISED). Chip, live-RM and VFIO: NOT_RUN. Not QUALIFIED, MERGED or DEPLOYED. See CHIP.md.

No cubin is committed. Images are created with mkstemp under /tmp and unlinked in the test.