Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-bridge/issues/f12397d525fb6fa9 # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [BRIDGE-GPU P0] Expand Omega Bridge to GPUs: capability-negotiated external accelerator adapters Open · #3 · open 2026-10-24 03:05 UTC Imported from GitHub aien-dev/omega-bridge#3, by drakestapleton drakestapleton wrote on 2026-10-24 03:05 UTC ## User decision (2026-10-23) GPU interoperability is explicitly in scope for Omega Bridge. Revise docs/DESIGN.md and README (current design says “No GPU, driver”). Bridge is the external attachment and translation/interop owner, including GPU compute/graph runtimes; the existing Omega/CUDApp projects remain the native compiler, kernel, driver, platform and verifier owners. Parent experimental MAX plan: https://github.com/aien-dev/omega-mv/issues/679 . ## Grounded starting point - https://github.com/aien-dev/omega-bridge/blob/main/docs/DESIGN.md currently provides checked Omega semantic core and language target adapters for C/Python, explicit opt-in/reversible adoption, and a contradictory “No GPU, driver” scope boundary. Update the decision, preserving no surprise install, no hidden replacement, no production intervention. - https://github.com/aien-dev/omega-mv/issues/632 already owns probe|legalize|lower|check|run|measure and backend ABI. - https://github.com/aien-dev/CUDApp/issues/35 owns verified GB10 native tensor realizations; https://github.com/aien-dev/CUDApp/issues/36 owns non-NVIDIA capability feasibility. - https://github.com/aien-dev/omega-mv/issues/599 governs .om first-party replacement and retirement of .osc/foreign production code. Seed support gaps go to existing compiler owner; do not invent another compiler. ## Deliverables - Revise scope and ownership contract: Bridge handles source-language bindings, graph runtime adapters, GPU runtime interop, capability manifests, tensor memory ownership handoff and explicit refusal; no duplicated chip instruction encoder, GPU driver, verifier, or runtime. - Define versioned `omega-bridge-gpu-adapter` protocol compatible with #632: operation/spec hash, tensor dtype/shapes/strides/layout, device backend and ISA/profile, kernel binary/launch receipt references, producer/consumer ownership, memory rights, synchronization, offline/telemetry policy, error/refusal semantics; no unauthorized raw DMA/VA reuse. - Implement a nonexecuting fake GPU adapter and deterministic round-trip fixtures. Provide one supported real GB10 adapter only by consuming existing native owner artifacts; do not promise unsupported hardware execution. - Publish GPU support matrix (native sm_121 proven vs MAX adapter gated vs AMD/Intel/Metal NOT_RUN) with reproducible docs and explicit API/license caveats. - GPU adapter activation opt-in, disabled by default; dry-run, isolation, rollback. Keep live service, device driver and telemetry configuration unchanged without separate authorization. ## Acceptance A fresh checkout demonstrates structured capability negotiation and denial for wrong ISA/dtype/driver/ABI, stale receipt, bad ownership, bad alias/sync and unqualified device; no silent fallback to CPU or vendor runtime. The adapter behaves as a pure boundary, not an alternative GPU stack. End-to-end physical test requires scheduled Spark evidence. New first-party source/tests use seeded .om under Omega #599; third-party integration may require external MAX/Mojo extension pieces, explicitly segregated. Issue closes only with tested integrated hashes and independently reviewed evidence. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:19 UTC Recovered GitHub comment. Original comment `6379593303` Implemented on `feat/gpu-interop` @ `87aec91`. - `src/gpu_adapter.om` (native Omega, seed-pinned): ordered key/value negotiation, contract-id and ISA checks, artifact admission by digest, named refusals (`E_INCOMPLETE`, `E_ORDER`, `E_DUPKEY`, `E_UNKNOWN_KEY`, `E_VERSION`, `E_UINT`, `E_POLICY`, `E_CAPABILITY`, `E_ABI`, `E_CONTRACT`, `E_DIGEST`, `E_ARTIFACT`, …), no fallback. - 49/49 adapter checks: negotiation accept/refuse, tampered artifact, untrusted signature, rights, stale driver, duplicate key, out-of-order headers, fake vs real adapter refusal. - Device execution is intentionally out of scope: the adapter is an admission contract, not a loader. Host tests only; no GPU opened. - Evidence: `evidence/MAX-INTEROP/3/`; commands: `docs/REPRODUCE.md`. Real device admission remains NOT_RUN (chip reserved). Sign in to comment