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

D14: recover from a fault without restarting the process

Open · #11 · open 2026-10-22 15:05 UTC

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

drakestapleton wrote on 2026-10-22 15:05 UTC

Priority and execution ownership

Priority 2: concurrency and recovery.

L386; aien-dev/omega-mv#617 (contains streams work), existing recovery issue aien-dev/omega-mv#518.

Source draft

docs/issues/D14-recover.md at 232332422bfdc31c8918085b50f13c1e18ab702e

D14: recover from a fault without restarting the process

Labels: D14

The pain. "Pretty much all asynchronous errors (these are errors that occur as a result of device code execution) are sticky." (NVIDIA forums). After one fault the whole process has to restart. docs/PAIN_POINTS.md section 2.3.

What exists. CUDA++ latches the process on an unconfirmed completion and parks buffers the GPU might still touch, instead of reusing them (docs/runtime/API.md section 3). Recovery is open (omega-mv#518).

What is left. Stop a faulting or endless kernel and keep the same process usable. Omega bar C5, ledger L386.

Done when. A kernel that never ends is timed out, and the same process then runs hello-gpu to PASS; chip receipt.

Acceptance gate binding

C5 recovery: an intentionally nonterminating kernel is timed out/contained, then the same process runs hello-gpu to PASS. Check teardown failures stay latched, stale command lists are refused, and no still-in-flight buffers are reused. Destructive/hang tests only in an isolated coordinated window, never against live serving.

The source draft may predate completed host work; inspect the existing implementation and receipts before claiming or assigning a rewrite.

Mandatory closure gate

Do not close from a branch push, a simulator-only result for a chip requirement, an agent summary, or a merged PR alone. Do not use auto-closing Fixes/Closes keywords in a PR until the full gate below is actually met.

  • Link the full tested source SHA for every affected repository and the integrated/merged SHA. If a rebase, pin change, or merge changes executable inputs, qualify the resulting exact commit again.
  • Link a committed public receipt and raw logs under evidence/: exact command and flags, compiler/tool and binary hashes, source/pin SHAs, machine/chip/driver identity, expected result and actual exit code.
  • All acceptance checks pass; relevant negative controls/mutants fail for the intended reason. No skipped/waived gate or retry-until-green.
  • Hardware rows have actual GB10 receipts in a coordinated chip window. Host/simulator tests remain separately identified and cannot satisfy those rows.
  • Required dependencies are complete, independent review is recorded, and the integration owner verifies the receipt against the final artifact before closing this issue.

Existing implemented pieces must be reused, not rewritten. A historical draft is provenance, not proof that its host work is still missing. Live execution, pinned CUDApp consumption, and the independent driver remain distinct claims.

Work graph

Priority anchor: https://github.com/aien-dev/CUDApp/issues/5

Scheduling/qualification prerequisites (reuse code already built; no extra worker):

No comments.

Sign in to comment