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-mv/issues/43e4508dbafb372f # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OMEGA-UNIX-GPU P0] Composable GPU toolchain: bounded pipelines and versioned backend ABI Open · #632 · open 2026-10-22 22:04 UTC Imported from GitHub aien-dev/omega-mv#632, by drakestapleton drakestapleton wrote on 2026-10-22 22:04 UTC Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295 GPU family research / backend tracker: https://github.com/aien-dev/CUDApp/issues/36 Existing GPU and portability work: https://github.com/aien-dev/omega-mv/issues/593 and https://github.com/aien-dev/omega-mv/issues/596 ## Grounded baseline (main) - `src/compiler/osc_ir.{h,c}`, `src/compiler/osc_interp.c`: typed lower IR and independent reference interpreter. - `src/omega_gpu_platform.h` / CUDApp `src/omega_gpu_platform.h`: versioned 1.2 platform services, generation-counted handles, rights, GPU VA vs bus addresses, explicit refusal. Reuse; do not duplicate. - CUDApp `src/omega_gpu_engine.c`: chip-independent state machine; `src/omega_blackwell_*.c`, `omega_gpu_session.c`, `omega_gpu_cmdlist.c`: mostly chip-specific. - Existing CUDApp `docs/runtime/PORTABILITY.md` enumerates 87 chip-specific and 15 portable files at recorded baseline, plus repeated Blackwell setup constants. Never assume a Linux-neutral source is GPU-neutral. - Existing AIENIX architecture study `docs/research/repo-topology-unix-vs-monorepo-vs-hybrid.md` recommends reversible boundary tests: Unix philosophy concerns processes/interfaces, not one Git repo per chip. ## Goal Modularly compose one meaning, many realizations without a universal driver/mega-runtime. Separate responsibilities: - `omega-gpu-probe`: discover devices and structured capability/provenance metadata, no code execution. - `omega-gpu-legalize`: analyze typed operation, reject unsupported semantics/features, produce obligations. - `omega-gpu-lower`: dispatch to registered target compiler (Blackwell/direct SASS, SPIR-V, AMDGPU, Metal, etc.) with target-specific output; no device open. - `omega-gpu-check`: independently validate program, lowering, required capabilities, code hashes and receipts. - `omega-gpu-run`: negotiate platform ABI then execute only an explicitly selected, validated target, no silent CPU/vendor fallback. - `omega-gpu-measure`: collect results, actual target profile and measurements without re-implementing launch/compile. These are logical Unix tools. Prototype separate processes for offline compilation, discovery and validation, with versioned structured stream records (JSONL for inspectability, content-addressed binary payloads or length-framed records for bytes). For hot-path execution use a small in-process C ABI: never send large tensors/pointers/driver handles over raw text pipes. Code and data stay local; capabilities are explicit and never gained by piping arbitrary text. ## Acceptance - A golden typed integer vector-add operation flows through independent `probe | legalize | lower | check` stages to produce verified Blackwell realization; the existing approved GB10 launcher executes it unmodified (a real chip run only when scheduled). - The same input is rejected with named diagnostic for unavailable target, wrong driver profile, malformed IR, stale code, unsupported precision, aliasing, synchronization hazards, invalid handle/rights and wrong receipt. Unknown=NOT_RUN, never PASS. - Show two independent backend plugins using the same interface, one real Blackwell and one nonexecuting mock (must refuse pretending to run on a GPU). Byte-for-byte deterministic stage outputs across processes with pinned environment. - No unauthorized network, runtime authority bypass, duplicate kernel generation, invented GPU coverage, or breaking change in existing ABI. Add migration notes and per-file ownership table. - Run Spark's established local gates and request independent review; no repository move until an approved, reversible experiment supports it. Related reference: https://docs.vulkan.org/guide/latest/compute_shaders.html ; https://registry.khronos.org/OpenCL/specs/unified/html/OpenCL_API.html . No comments. Sign in to comment