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/QMD-CLEAN-OUTPUT-20261029/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 / QMD-CLEAN-OUTPUT-20261029 / README.md` 74 lines · 3636 bytes Raw Blame History Rendered 1 # QMD standalone clean-output build repair 2 3 ## Scope and identity 4 5 This is a host-only build-rule follow-up to CUDApp #178. 6 The production QMD builder, its shared-memory cap, existing C test assertions, 7 public APIs and historical receipts are unchanged. 8 9 Base: ``b348277e4383ab1f37f45bb702ea7d4fb4363782``. 10 The tested replacement Makefile has Git blob 11 ``609a004ab095dec51a7d5ef1d319d07a30425976`` and SHA-256 12 ``105e81766f32584be8d8730d3b7e54a0132bdad1828248d64519736383ef7203``. 13 14 Local validation used a source-bounded fixture, not a full repository checkout: 15 the exact Makefile, all mk/ include files, and these unchanged source blobs 16 were fetched from the base and their Git blob identities checked. 17 18 - `src/omega_blackwell_qmd.c`: ``dd13ec5a2c0d712627240afa8b1151e45643cd06`` 19 - `src/omega_blackwell_qmd.h`: ``1d56f1a9198ee0e7f8d18f2712207b7a6c37b21a`` 20 - `tests/test_omega_bw_qmd_shared.c`: ``ea877dbe92010691daed3ea4ffa2dd31e9700ffb`` 21 22 Machine: Linux x86_64. Measured tool versions: GNU Make 4.4.1, 23 GCC 14.2.0, Python 3.12.14. 24 25 ## Defect and repair 26 27 The standalone test target did not depend on its output directory. 28 With an absent OUT_DIR, compilation failed while opening the dependency file. 29 Other host targets could create the directory first and hide this defect. 30 31 The repair adds the existing OUT_DIR rule as an order-only prerequisite. 32 The retained `test-gpu-qmd-shared-clean-build` regression creates a temporary 33 parent, leaves its child output directory absent, and invokes the ordinary 34 host-only QMD test target with that child as OUT_DIR. It is in HOST_TESTS. 35 The recipe propagates failures and removes its own temporary directory. 36 37 ## Measured host outcomes 38 39 Commands and captured output are in `host-checks.log`. 40 41 - Same regression with only the directory prerequisite removed in a separate 42 copied fixture: expected exit 2, missing output-directory error. 43 - `make test-gpu-qmd-shared-clean-build`: exit 0, 44 `qmd shared: 112 checks, 0 failed: PASS`. 45 - `make -j4 test-gpu-qmd-shared-clean-build`: the same PASS, no jobserver warning. 46 - Direct `make OUT_DIR= test-gpu-qmd-shared`: the same PASS. 47 - `CC=false`: expected exit 2. The temporary directory was removed. 48 - A missing TMPDIR: expected exit 2 before compilation. 49 - `make -n test-gpu-qmd-shared-clean-build`: exit 0, commands printed, 50 no QMD binary executed. The temporary directory was removed. 51 - `git diff --check`: exit 0. 52 - A separate reviewer independently reproduced the fresh-output, parallel, 53 removed-prerequisite, compiler-failure, cleanup and dry-run controls. 54 No remaining finding in the final Makefile blob above. 55 56 The negative control must use a separate fixture's default Makefile: changing 57 only a `make -f` parent would leave the recursive make reading the original file. 58 59 The initial review found that directly executing the binary outside recursive 60 make broke dry-run behavior. The final recipe invokes the ordinary test target, 61 so recursive make carries the dry-run flag through both build and execution. 62 63 ## Verification boundary 64 65 Full `make test`, complete library build, native-artifact and zero-CUDA gates 66 were NOT_RUN locally in this source-bounded fixture. The draft PR's exact-head 67 ARM64 CI is the full-repository gate; its result is reported separately. 68 No simulator result or physical GPU result is claimed by this receipt. 69 No device, driver, live service, installation or deployment was touched. 70 No existing receipt was edited. 71 72 The repository publication scanner's self-test passed: measured output 73 `SELFTEST PASS: planted 17 ... found 17; binary listed`. 74 The changed-file publication scan is recorded in the pull request.