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

106 lines · 7514 bytes Raw Blame History Source

Core utility Omega migration receipt

State: IMPLEMENTED and EXERCISED on the host. Not MERGED, DEPLOYED or hardware QUALIFIED. Branch: feat/core-util-om; base: CUDApp b774723f537cec16a359fe082b8100317a5b5490. Registration was committed first as 26dcdff04713. Implementation revision is the commit containing this receipt.

Pins and scope

Commands and observed results

All test, mutant and simulator commands used this device-free wrapper:

bwrap --dev-bind / / --dev /dev --proc /proc -- \
  taskset -c 10-14 nice -n 10 COMMAND

Generation additionally used OMEGA_OMC=$HOME/work/cudastack/omega-mv/seed/out/omc and OMEGA_BRIDGE=$HOME/work/cudastack/omega-bridge. Build concurrency was -j3. Logs retain command/compiler output; the negative controls intentionally print a mismatch before their enclosing gate reports that the mismatch was caught.

Wrapped commandrcObserved final result / log
sh om/units.sh0Wrote checked portable units; generate-final.log
make -j3 test-core-sha-state0CORE-UTIL SHA context PASS; state.log
make -j3 test-core-util0SHA, canonical, effects/eval, vector, fmt, hostmath, f16 and builders PASS; host.log
python3 tests/test_core_mutants.py --out-dir build --receipt evidence/core-util/2026-11-06/mutants0CORE-UTIL mutants PASS: 6 recompiled semantic mutants killed; mutants.log and mutants/
Initial make -j3 test-core-cubin-message test-om-cubin test-ampere-encoder test-ampere-plan2Existing cubin target omitted its artifact executable prerequisite; cubin-ampere.log
After repair: make -j3 test-core-cubin-message test-om-cubin test-ampere-plan0Cubin differential and bit flip caught; Ampere host/sim PASS; cubin-repaired.log
make -j3 test-ampere-cubin0Default and differential binaries: AMPERE CUBIN HOST PASS; device NOT_RUN; ampere-cubin.log
sh om/core/native.sh and sh om/core/native.sh --check0Standalone native inputs write / byte-identical check PASS
sh om/units.sh --check0PASS portable Omega units regenerate byte for byte; regeneration-check.log

The initial combined command also exercised test-ampere-encoder: its fixtures reported all IR opcodes, source modes, target preservation and refusals. Its success does not convert the initial combined command's failure into a PASS.

Coverage and verdicts

TierVerdictEvidence
SHA FIPS / official CAVPPASSEmpty, abc, multi-block FIPS vector, million-a; all 65 short-message and all 64 long-message CAVP records
SHA C differentialPASS10,000 generated inputs and streaming splits; digest flip caught
Public SHA context semanticsPASSPadding boundaries, chunk splits and repeated finalization match C
Canonical / IDsPASS10,000 objects, all version/kind header pairs, 16,384 ASCII parser pairs, bounded-output refusals
Effects / checked evaluationPASS10,000 generated cases
VectorPASS10,000 cases; chunk/refusal boundaries and partial/exact aliasing
FormattingPASS10,000 cases, capacity boundaries, unsupported/truncated tokens
Host mathPASS10,000 bitwise non-contracting cases and threshold/exponent boundaries; C oracle compiled -ffp-contract=off
Binary16PASSEvery one of the 65,536 encodings; NaN payload and quieting behavior checked
BuildersPASSEvery constructor, full graph boundary and aliasing ID lookup
Semantic mutantsPASSInitial state, round constant, padding marker, two-block boundary, bit count and length-byte-order mutants recompiled and killed
Cubin diagnosticsPASS10,000 C comparisons, truncation, bridge-status boundaries and message-record flip
Existing Ampere cubin testsPASSBoth default Omega and C differential paths: AMPERE CUBIN HOST PASS; device NOT_RUN
Existing cubin artifact / manifest / sweepPASS869 identical code/byte/message calls, 750 images; sweep includes 854 calls and 111037984 image bytes; image flip caught
Ampere warp simulatorPASShello_gpu --target=sm_86 --sim: 1048576 elements checked, zero wrong or unwritten; namespace hides devices
Native no-libc aggregate executionNOT_RUNShared composition/bridge qualification belongs to BridgeHost and Integrator
Full integrated make testNOT_RUNIntegrator-owned gate; not launched by this lane
Chip / live RM / VFIO / hardwareNOT_RUNNo current authorization; no hardware qualification claimed

Defects fixed during the port

The remaining C is memory/ABI adaptation: allocation/free, fixed-view staging, pointer/span and object-tag admission, variadic argument extraction, and stable C string-pointer storage. No numeric, hashing, canonical serialization, vector, format-token or cubin-image algorithm remains in the default handwritten C implementation. Function-mode globals and read-only text literals are not available (OMEGESE, function mode); diagnostic literals are encoded as local Omega stores instead. A future bridge static-text/lifetime projection could replace C string-pointer storage, but no such compiler change is required for these exercised API behaviors. No outside runtime dependency was introduced.

Hardware procedure: CHIP.md. Exact mathematical queries and returned results used for constants and identities: wolfram.txt.