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

[OMEGA-UNIVERSAL P1] Verified Omega tensor operations to native GB10 GPU realizations

Open · #35 · open 2026-10-22 21:46 UTC

Imported from GitHub aien-dev/CUDApp#35, by drakestapleton

drakestapleton wrote on 2026-10-22 21:46 UTC

Parent architecture epic: https://github.com/aien-dev/aien-architecture-mv/issues/295; compiler contracts: https://github.com/aien-dev/omega-mv/issues/625, https://github.com/aien-dev/omega-mv/issues/623, https://github.com/aien-dev/omega-mv/issues/628.

Actual code: CUDApp Makefile, src/omega_gpu_platform.h, src/omega_gpu_platform_linux.c, src/omega_gpu_matmul_api.c, src/omega_gpu_attention_api.c and src/omega_blackwell_codegen*.c. CUDA++ builds with GCC, does not require the CUDA toolkit, but uses NVIDIA open driver definitions and a GB10 path. Omega src/omega_gpu_platform.h has negotiated service capabilities; Omega #593 and #596 already own general runtime/hardware portability. DO NOT implement a second GPU runtime.

Work: Define typed Omega tensor/parallel operation subset (shape, layout, dtype/FP behavior, aliasing, synchronization, resource/effect rights, barrier ordering) and an adapter to existing CUDApp math entry points. Version target capability profile (GB10/sm_121, driver, buffers, supported kernels); produce a checked lowering record mapping semantic operation and contract to GPU kernel/code/launch/receipt. Unsupported shapes, race assumptions, relaxed FP modes and unverified device paths must refuse or declare approximation explicitly.

Acceptance: CPU mathematical oracle vs real GB10 device for small matmul, elementwise and optional attention where actually implemented; exact int ops bit-equal and FP modes compared by specified tolerances; negative tests for shape, dtype, aliasing, invalid buffer handles, missing device, stale generation and wrong launch profile; record compilation/transfer/submit/wait time and memory usage separately from compute; energy only if measured with named instrument. GPU results must carry real chip receipt, never CPU or simulator label. Use Spark one-at-a-time GPU measurement policy. Link upstream #593 https://github.com/aien-dev/omega-mv/issues/593 and #596 https://github.com/aien-dev/omega-mv/issues/596. Research: https://doi.org/10.1109/CGO.2017.7863730.

CUDA-LEARN integration addendum

Contract-bound generated realizations and evidence graph

CUDA-LEARN #52 extends this existing lowering owner. #53 supplies fixed tensor-task semantics; #54 supplies explicit checked transformations; #56 contributes a narrow reduced witness; #57 selects only qualified realizations. They must consume this issue's mapping records instead of creating parallel tensor IR or realization registries.

Inspect current aien-dev/omega-mv#621 and aien-dev/omega-mv#622 and seeded compiler work before assuming a general tensor/control-flow frontend exists. Extend the existing upper semantics and compiler owners for missing constructs. Final first-party implementation/tests/automation follow seeded .om replacement-and-removal under aien-dev/omega-mv#599.

Each lowering record binds semantic operation/contract, shape/layout/dtype, alias/effect rights, numerical mode, target profile, transformation lineage, code/launch bytes, buffer lifetimes and validation receipts. Keep semantic/provenance/performance identities distinct. Stale compiler, microkernel, capability or numerical data must invalidate affected records.

Use an evidence graph that distinguishes source/IR obligations, independently checked reduced witnesses, native byte decoding, original-to-witness differential testing and actual GB10 execution. A code hash proves identity. A bounded no-trap certificate does not prove source-to-native equivalence. A proof over real numbers does not prove finite-precision accuracy or concurrency correctness. Unsupported obligations remain explicit, not silently waived.

Begin with a currently supported small operation and an independently specified oracle; expand only after real native receipts. Retain all original negative tests, adding swapped code digest/launch profile, stale proof, weakened specification and wrong applicability-domain controls. Existing runtime capability/authorization owners continue to gate execution.


2026-10-28 quant format and composed GPU realization interface

This issue remains the single checked semantic tensor-to-GPU realization identity owner. #156 supplies versioned quant semantic/physical descriptors with explicit scales/zp; #157 supplies within-kernel IR component composition; #158 caches validated native artifact identities; existing #57 selects based on measured full workload; Omega #663 owns canonical tensor/dtype semantics. Add only the necessary versioned descriptor and code/launch identity hooks; do not implement an alternative IR, registry, driver, model loader or interpreter. Validate scale layout, target capability, numeric profile and artifact invalidation end to end.

No comments.

Sign in to comment