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

[CUDA-LEARN P1] Pilot reduced-concurrency witnesses with explicit proof and binary-test boundaries

Open · #56 · open 2026-10-23 19:43 UTC

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

drakestapleton wrote on 2026-10-23 19:43 UTC

Parent: #52. Research snapshot: 2026-10-23.

Problem

A valid algebraic expression, a matching hash and a passing simulator do not establish that concurrent machine code implements the intended finite-precision computation. CUDA++ needs evidence records that say exactly which relationship is proved and which was only tested.

This is a narrow extension of #35's checked tensor lowering and aien-dev/omega-mv#623, aien-dev/omega-mv#624 and aien-dev/omega-mv#625. Those owners retain the checker, semantics and translation-validation interfaces. Do not create a new proof engine or use an LLM's assertion as a certificate.

Prerequisites and bounded first case

Use #53 for fixed independent specifications, #55 for available stress evidence, #16 numerical contracts and #10/#22 native-byte checks. Begin with one small integer elementwise or fixed-order reduction operation whose semantics are fully supported. A small matmul is a later bounded case, not an initial claim of arbitrary tensor-core equivalence.

Work

  1. Specify an evidence graph with separately identified original reference, original candidate, reduced reference, reduced candidate and checker inputs. Each edge states PROVED, TESTED, UNSUPPORTED or NOT_RUN, with exact artifact identities and domain.
  2. Derive the specification from the reference and task contract before inspecting the candidate. Review its strength: a vacuous postcondition, omitted output or assumed result must not prove the task.
  3. Create reduced-concurrency .om witnesses only where the existing checker can express the operation. Preserve ordering-sensitive behavior where required. A reduced witness is a separate artifact, not an undocumented replacement for the production kernel.
  4. Independently test original-to-reduced correspondence over fixed development inputs, adversarial boundaries and heldout validation inputs. The native binary remains subject to byte, launch, memory and synchronization checks.
  5. Use the existing proof checker for the supported witness obligations. Keep arithmetic domains explicit: modular integer, floating-point operation sequence, or real-valued algebra. A proof in one domain does not establish another.
  6. For a real-algebraic experiment, retain #16's finite-precision error/quality gate separately. Transcendental approximations, subnormal handling, FMA contraction and tensor accumulation require their own modeled semantics or an explicit unsupported result.
  7. Bind checked records to the exact code, compiler, target capability and launch profile used by #35. Hash equality establishes identity, not translation equivalence.

Acceptance and negative controls

  • One supported operation has an independently checked nontrivial witness and replayable evidence graph.
  • Changed reference specification, omitted output, wrong reduction order and stale witness/binary controls fail at the appropriate edge.
  • Counterexample reduction preserves the failing behavior and records how the smaller case was obtained.
  • Native-original to reduced correspondence is labeled empirical unless a separate translation proof exists.
  • Missing proof support yields UNSUPPORTED or NOT_PROVED rather than PASS, and does not erase valid test results.
  • A real-number proof cannot satisfy a bitwise, numerical-error or concurrency acceptance row.
  • Documentation gives one complete worked example explaining the trusted assumptions and every unproved connection.

Research and limits

RESOLVE proves a common specification for reduced proof-language programs while testing the links back to original binaries. Its algebraic proofs do not establish a finite-precision bound or race freedom for the original concurrent program. Adopt that explicit separation, retaining the existing Omega checker. This issue is successful if it yields a useful bounded witness or identifies an exact missing semantic feature with a failing example; a universal GPU verifier is outside scope.

Delivery contract

Final first-party implementation, tests, build and automation for this work must be seeded .om, following aien-dev/omega-mv#599. Existing C, Rust, Python, JavaScript and .osc implementations are migration inputs and comparison evidence, not permanent wrappers or fallbacks. Qualify each .om replacement, cut its consumers over, remove the replaced active implementation and dependency, and retain immutable history/receipts. A qualified baseline can remain an algorithm choice implemented in .om. Missing seed-language, host-service or compiler features go to their existing owners; do not invent a second compiler/runtime.

Reuse #5's canonical backend, #10's independent decoding, #15/#16/#17's test/numerical/measurement work, and existing memory/session/driver boundaries. Reconcile current main and active branches before coding. No NVIDIA userspace dependency in the final execution path. This finite research workstream does not supersede release priorities or authorize live-service replacement.

Publish exact source/compiler/runtime/model/target/config identities, candidate code and launch digests, commands, raw outcomes and expected-failure controls. Distinguish host, simulator, compiled native host, GB10 and integrated-consumer evidence. Missing hardware is NOT_RUN. Use existing reservations/quietlock and bounded memory; leave active GPU jobs alone. Closing requires the issue's stated gates on the final artifact plus independent review, or an explicit reproducible NO-GO for an experiment. Never close solely on generated code, a branch push, or a merged PR.

No comments.

Sign in to comment