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
CUDApp / evidence / chip-helper-host-20261027 / README.md
| 1 | # Chip-helper host-only repair: 2026-10-27 |
| 2 | |
| 3 | ## Identity and scope |
| 4 | |
| 5 | - Baseline: `9841bb3a5dfbde1c7bf7741fd2fceb916962c8cb` (merged #113). |
| 6 | - Tested local source commit: `742c453c4a62f1c47e97a1d3a802e278218d8cc8`. |
| 7 | - Tested source tree: `71ccf551d494dd70b744feecc66c3214850067fc`. |
| 8 | - Machine: Linux 6.18.55, x86_64; Python 3.12.14; GCC 14.2.0. |
| 9 | - Only shell orchestration, its host tests, and CI wiring changed. No C or |
| 10 | Omega runtime implementation, instruction encoding, or hardware result changed. |
| 11 | - Existing C4 chip receipts remain immutable. This is not GPU qualification. |
| 12 | |
| 13 | ## Reproduction and results |
| 14 | |
| 15 | Every executable child in the regression suite is a temporary dummy script. |
| 16 | Each lock is an isolated temporary file. Contention uses real Linux `flock`; |
| 17 | a test-only PATH shim makes the production wait nonblocking, without changing |
| 18 | production locking or opening the GB10 lock. No GPU device was opened. |
| 19 | |
| 20 | 1. Copy the two baseline helper blobs with `git show |
| 21 | 9841bb3a5dfbde1c7bf7741fd2fceb916962c8cb:tools/<helper>` into a temporary |
| 22 | `tools/` directory, then run `CUDAPP_CHIP_HELPER_ROOT=<temporary-root> |
| 23 | python3 tests/test_chip_helpers.py -v`. |
| 24 | **Expected FAIL**, exit 1: 9 tests, 7 failing assertions/subtests |
| 25 | (`baseline.log`). These expose zero/empty counts, missing locking, |
| 26 | contention admission, and suppressed early/late child failures. |
| 27 | 2. At the tested source commit, `python3 tests/test_chip_helpers.py -v`: |
| 28 | **PASS**, exit 0, 9 tests (`repaired.log`). Positive controls keep the |
| 29 | default 10 runs, requested count, complete 11-command success path, |
| 30 | channel environment, failure rejection, and missing-verdict rejection. |
| 31 | 3. `sh -n tools/c4_streams_chip.sh tools/l136_channel_gates.sh`: |
| 32 | **PASS**, exit 0. `git diff --check`: **PASS**, exit 0. |
| 33 | 4. Python AST parse and PyYAML parse of the changed test/workflow: |
| 34 | **PASS**, exit 0. |
| 35 | 5. `make test`: **FAIL**, exit 2, before running the full suite |
| 36 | (`make-test.log`). The x86 assembler rejects existing ARM `dsb sy` |
| 37 | instructions at `src/omega_blackwell_engine.c:558` and `:393` (diagnostic: number |
| 38 | of operands mismatch for `ds`). This file's blob is unchanged from baseline: |
| 39 | `bc053f133613d3dd22930f9eb461a426f397e3d3`. |
| 40 | Native ARM64 exact-head CI is still required; no C workaround or gate |
| 41 | bypass was used. |
| 42 | 6. Separate `make test-native-artifact`, `make zero-cuda-gate`, |
| 43 | `build/hello_gpu --sim`, and `make doctor`: **NOT RUN locally**; |
| 44 | full build is blocked as above. Existing PR CI covers its normal host |
| 45 | and simulator tiers without altering their gates. |
| 46 | 7. GB10 tests: **NOT RUN**. No authorized hardware window was requested. |
| 47 | |
| 48 | Logs are captured output, with the local checkout prefix replaced by |
| 49 | `<checkout>` in Python tracebacks and trailing whitespace removed from the |
| 50 | baseline log. These formatting changes do not alter verdicts. |
| 51 | |
| 52 | ## Independent review and ownership |
| 53 | |
| 54 | A separate reviewer reported no findings and independently ran all 9 tests, |
| 55 | shell syntax and whitespace checks. Additional dummy checks confirmed a |
| 56 | missing first executable propagates 127 without launching a child or writing |
| 57 | `done`, and an existing lock retains its contents and is held for all children. |
| 58 | |
| 59 | Reviewed combined patch SHA-256: |
| 60 | `7360405df7ed6c08fd405a393eebb68ea5a70119773f312af783678da6ca0a79`. |
| 61 | The hash input was the tracked binary diff against baseline followed by |
| 62 | `git diff --binary --no-index -- /dev/null tests/test_chip_helpers.py` before |
| 63 | staging the new test. No source edits followed review. |
| 64 | |
| 65 | All 15 open PR file lists were rechecked; none touched these four source |
| 66 | paths. Coordination with C4Streams / TrainCarry2 is recorded on |
| 67 | [#113](https://github.com/aien-dev/CUDApp/pull/113#issuecomment-6436534499). |
| 68 | The .om successor in #115 and C5 work in #119 retain their existing owners. |
| 69 | |
| 70 | ## Publication audit |
| 71 | |
| 72 | `bash tools/extract/audit-selftest.sh`: **PASS**, 15 planted / 15 found. |
| 73 | Delta audit: 8 blobs, 0 binaries, 0 secret hits; 2 private-pattern hits, both |
| 74 | the reserved fixture address described below. |
| 75 | Only new/changed publication files are audited for this patch; historical |
| 76 | receipts are unchanged. The fixture identity `test@example.invalid` is a |
| 77 | reserved dummy address, not personal data. Publication uses exact blob/tree |
| 78 | comparison; any API-vs-local commit identity mapping is stated in the PR. |