Goal
Public tracking point for a community-facing Omega/CUDA++ experiment addressing three distinct problems: shader/pipeline compilation latency, GPU execution regressions, and miscompilation. Inspired by Timothy Lottes's discussion and explicit-ISA proposal. This is our proposal, not an agreed collaboration or an assertion of endorsement.
Status: planned; no shader speedup, graphics qualification, universal binary retargeting, or driver replacement demonstrated by this issue.
Current source baseline
CUDApp main b5e0da48ee7b8a64ae0b51068769fa0659b2e33a; Omega main 7505b3a3e3cf5ee46933e3a89a021b4289037983; Bridge main ad6d11f6507fba9ec02c08eaada36d10b9599c43.
- Native .om vector emitter: inspectable fixed sm_121 compute instructions, not a general graphics shader compiler.
- Existing elementwise cache: eight process-local slots, not persistent shader/pipeline caching.
- Artifact exporter/admission: code, launch, target/driver, contract and hash binding. Identity is necessary, not semantic proof.
- Warp simulator: IR execution, not independent proof of emitted machine bytes.
- Omega's seeded compiler currently emits AArch64 host code/explicit IR; Bridge admission is not arbitrary HLSL/GLSL/SPIR-V import. Full vertex/fragment, texture/derivative, raster/pipeline-state and cross-vendor semantics remain gaps.
New first-party implementation is seeded .om. Existing C machinery is reference/migration evidence, not authority to revive frozen kernel work. Foreign language/API adaptation belongs in adapters without changing Omega's semantic core.
Reuse existing work, do not duplicate owners
- #47 graphics/shader execution; #38 Vulkan compute/SPIR-V.
- #22 bounded scheduling; #53 independent evaluator; #54 explicit transformations; #55 perturbation tests; #58 reusable evidence.
- #79 .om migration.
- #82 tracing: issue closure is not hardware qualification. #83 merged wire codec; #84 emitter and #85 repair are drafts at this baseline. Native GPU tracing/overhead remain unqualified. Do not launch unqualified emitter bytes.
Staged acceptance criteria
1. Reproducer and bounded compute foundation
- Select one legally shareable real shader/pipeline reproducer, its failure category, input corpus, expected behavior, exact compiler/options/device/driver/pipeline state. Do not require a proprietary game dump.
- Reuse the seeded integer-vector baseline and one bounded shader-relevant arithmetic/control-flow case; unsupported semantics must refuse.
- Publish deterministic source-to-artifact identities and an independent reference. Compute-only results are explicitly labeled, never presented as resolving graphics stutter.
2. Compilation latency / first-use stalls
- Measure cold compilation, warm cache hit/miss, artifact loading, pipeline creation and first use separately; include distribution/tail latency and background preparation cost.
- Define compatibility keys covering source/IR, compiler/options, specialization, pipeline/layout state, target, relevant driver/runtime ABI and semantics.
- Test invalidation, stale/corrupted entries and cache misses; use bounded preparation and a known-good fallback. Never introduce an unbounded optimization search in a frame-critical path.
- For the graphics stage, report application frame-time spikes rather than substituting source-to-IR compile timing.
3. GPU execution performance
- Retain a deterministic baseline; generate bounded scheduling/specialization candidates through existing #22/#54 work.
- Reject correctness failures before timing. Run paired, repeated comparisons on the same named hardware, inputs and numerical contract; record registers/spills, memory traffic where measured, warmup and uncertainty.
- Include holdout workloads and regressions/no-gain outcomes. Shorter code or modeled occupancy is not measured speedup.
4. Correctness
- Define integer, floating-point, memory, subgroup and stage semantics for the supported subset. Account for NaNs, signed zero, denormals, rounding/FMA and permitted tolerances before comparing outputs.
- Use independent differential and semantics-preserving metamorphic tests, boundary/tail/alias/control-flow cases and minimized reproducers; reject undefined-input cases as evidence of compiler miscompilation.
- Independently check emitted instructions and launch contracts, then test on admitted hardware. Include deliberately wrong-result, bad-address and stale-cache negative controls.
- Keep validator acceptance, finite tests, scoped formal proofs and full-system correctness claims distinct.
5. Graphics and portability gates
- Under #47/#38, integrate one real shader stage/pipeline with a named graphics API/device and reproduce the original problem end to end.
- Keep the existing vendor compiler/driver path as the comparison/fallback; bypassing it is a separate experiment, not an assumed improvement.
- Any retargeting claim requires a second independently implemented and tested target with preserved semantics. Never relabel sm_121 binaries as universally portable.
Evidence and closure
- Publish exact revisions, artifact hashes, commands, raw measurements, hardware/driver identity, numerical policy, negative controls and unresolved limitations.
- Track planned / implemented / merged / host-tested / device-qualified / deployed separately.
- Close on an independently reproducible integrated result for the selected graphics reproducer, or an explicit documented no-go. Host tests or PR merges alone do not close the graphics claim.
Hardware runs require the existing admission/reservation workflow; no resident-model interference, automatic deployment or gate weakening is authorized by this issue. No performance target is promised before measurements.
Prior art to build on
- Vulkan pipeline binaries: existing app-managed binary reuse with implementation compatibility keys.
- Graphics pipeline libraries: compile/link tradeoffs and remaining combinatorial hitching.
- SPIRV-Tools: validation, fuzzing and optimization are separate; validity does not imply equivalence or speed.
- GraphicsFuzz research: established automated bug discovery/reduction, not a claim of novel invention.
- Vulkan float controls.
The differentiator to test is an inspectable, locally reproducible .om-to-native path with evidence-gated optimization and deployment, not the claim that AI or assembly automatically removes compiler bugs.