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/CUDApp/blob/main/evidence/MERGE-DESK-NATIVE-TEARDOWN-20261024/README.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / MERGE-DESK-NATIVE-TEARDOWN-20261024 / README.md` 64 lines · 3853 bytes Raw Blame History Rendered 1 # PR 67 teardown retry candidate 2 3 Refs CUDApp [#65](https://github.com/aien-dev/CUDApp/issues/65) and 4 [#67](https://github.com/aien-dev/CUDApp/pull/67), including review 5 [`5637134696`](https://github.com/aien-dev/CUDApp/pull/67#pullrequestreview-`5637134696`). 6 7 This is an **unqualified source candidate**, based on PR 67 head 8 ``5e037c7e3d0226abadaa10af9d44bc6339109b3f``. The candidate source and test revision 9 is ``ff5b4f9f1b13cffff2669e8207fe38cb5831366f``. Native compilation, native test 10 execution, GPU execution, model inference and deployment are **NOT_RUN**. 11 12 ## Repair and review 13 14 An unsuccessful `mapdrop` leaves its mapping handle owned. The old `nvstop` 15 cleared the BAR handle despite refusal and marked the context closed even when 16 channel or buffer mappings remained. A later `nvstop` could consequently report 17 success without retrying cleanup. 18 19 The repair records a distinct phase after descriptor closure, retains failed 20 mapping handles and retries only CPU mapping cleanup in that phase. It preserves 21 the sticky fault and retires each descriptor after one close attempt, including 22 close errors. No RM/UVM call or descriptor close is repeated after phase 1. 23 24 An independent source review traced normal cleanup, each mapping refusal, 25 driver teardown refusal and close-error paths against the compiler's mapping 26 semantics. It found no additional blocker in the runtime change. This review 27 is source analysis, not a signed supported-host qualification or native test 28 pass. Its suggested live-driver phase refusal check was added to the fixture. 29 30 The compiler source contract was checked at Omega 31 ``d7390d88d07dbf48cfbb0583070599c350f814d3``, `seed/omc/omc.om`: unsuccessful 32 `munmap` returns without clearing the live mapping slot. Invalid or stale 33 handles trap and are not used as a substitute for the syscall refusal case. 34 35 ## Verification recorded here 36 37 | Check | Result | Scope | 38 | --- | --- | --- | 39 | Shell syntax | PASS | `sh -n tests/speculation/run-teardown-host.sh` | 40 | Baseline and repaired source-unit composition | PASS | Extracted the actual composer from the tracked shell script; did not compile either unit | 41 | OS-effect isolation guard | PASS | Both composed units accepted; an appended unbound `devctl` rejected in each | 42 | Whitespace check | PASS | `git diff --check origin/experiment/27b-adaptive-sizing HEAD` | 43 | Native host test | NOT_RUN, exit 77 | Workspace is x86_64; no runnable pinned AArch64 compiler or emulator | 44 | Required legacy host suite | FAIL, exit 2 | `make -j2 OUT_DIR=build/teardown-review test`; existing unconditional AArch64 assembly at `src/omega_blackwell_engine.c:393,558` is rejected on x86_64 | 45 | Already-started legacy mutation target | PASS, 49/49 killed | Separate legacy host target, not qualification of the native repair | 46 | GPU/model/deployment | NOT_RUN | No device access or runtime activation | 47 48 `full-host.log` retains the complete failing host-suite output. The full host 49 suite ran against the same runtime change; later commits only adjusted the 50 test orchestration, added a fixture assertion and updated documentation. 51 `source-composition.json` records the exact units' hashes and guard exits. 52 53 ## Required supported-host step 54 55 Follow [TEARDOWN-HOST.md](../../docs/speculation/TEARDOWN-HOST.md) on Linux 56 AArch64 using the pinned compiler. The original source must compile and fail 57 by the intended assertion; the repaired source must compile and pass. A 58 compiler error, trap, timeout or unsupported-host skip is not a pass. Preserve 59 the produced source units, ELF files, compiler logs, stdout/stderr and hashes. 60 61 The current candidate must remain draft/unqualified until that step and all 62 existing review and signed integration gates are satisfied. Older hardware 63 receipts cannot qualify this changed source, and the synthetic fixture does 64 not qualify 27B inference or production activation.