Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295
Dependencies
- https://github.com/aien-dev/aien-architecture-mv/issues/298
- https://github.com/aien-dev/omega-mv/issues/632
- https://github.com/aien-dev/omega-mv/issues/638
- https://github.com/aien-dev/aien-sovereign-core-mv/issues/706
- https://github.com/aien-dev/CUDApp/issues/19
- https://github.com/aien-dev/CUDApp/issues/24
Problem
Correct language/hardware interoperation can still erase performance gains by copying and synchronizing at every boundary.
Work
- Describe buffer type, shape, stride, alignment, ownership, lifetime, mutability and location in the existing IR/ABI contracts.
- Represent transfers and synchronization dependencies explicitly; use versioned handles across boundaries rather than unqualified raw addresses.
- Implement bounded streaming with backpressure and cancellation; overlap only operations whose dependencies permit it.
- Reuse existing stream/event/session and model-streaming work. Measure before choosing fusion, staging or caching.
Acceptance
- One application pipeline reports bytes moved, copies, synchronization waits and peak memory before/after.
- Correctness matches a serialized reference; use-after-release, aliasing, cancel-during-transfer and stale-device cases are caught.
- Report latency/throughput and overhead at identical workload and numerical requirements; no assumed speedup.
- A zero-copy claim is made only for a compatible verified buffer path.
Scope
one useful cross-adapter pipeline, not a universal tensor runtime rewrite.
Reconciled delta and ownership
CUDApp #19/#24 retain command-list hazards, synchronization and memory reservation. Core #706 retains component ABI; existing streaming/RIBBON owners retain implementation. The missing delta is carrying an immutable versioned residency/lifetime descriptor across language/runtime adapters and measuring a whole bounded pipeline, not reimplementing a tensor/stream runtime. Programme coordinator/integration: L707; existing sole Renda PR desk: L708. Existing implementation ownership is retained, not reassigned by this issue. No GitHub assignee is inferred.
Shared acceptance
Implement in the existing seeded Omega path and follow current repository instructions. Reconcile live ownership before editing shared compiler/runtime sources. Keep first-party production computation native to the agreed Omega seed lineage; external compilers and interpreters may be explicit test oracles or declared compatibility dependencies. No hidden runtime fallback. Use existing checker, receipts, test harness and GPU launcher. Record exact source/tool/binary pins, commands, exit codes and tested profiles. Distinguish PROVEN, TESTED, EMULATED, HARDWARE, NOT_RUN and UNSUPPORTED; signatures/hashes and self-hosting do not prove equivalence. Include meaningful failure/negative controls and independent review of final functional source. Preserve local trace ownership, existing visibility and live services. Do not close issues from a branch or partial demonstration. Existing release/merge/hardware coordination remains authoritative.