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

branch main Branches Tags History

CUDApp / evidence / QMD-CLEAN-OUTPUT-20261029 / README.md

74 lines · 3636 bytes Raw Blame History Source

QMD standalone clean-output build repair

Scope and identity

This is a host-only build-rule follow-up to CUDApp #178. The production QMD builder, its shared-memory cap, existing C test assertions, public APIs and historical receipts are unchanged.

Base: b348277e4383ab1f37f45bb702ea7d4fb4363782. The tested replacement Makefile has Git blob 609a004ab095dec51a7d5ef1d319d07a30425976 and SHA-256 105e81766f32584be8d8730d3b7e54a0132bdad1828248d64519736383ef7203.

Local validation used a source-bounded fixture, not a full repository checkout: the exact Makefile, all mk/ include files, and these unchanged source blobs were fetched from the base and their Git blob identities checked.

Machine: Linux x86_64. Measured tool versions: GNU Make 4.4.1, GCC 14.2.0, Python 3.12.14.

Defect and repair

The standalone test target did not depend on its output directory. With an absent OUT_DIR, compilation failed while opening the dependency file. Other host targets could create the directory first and hide this defect.

The repair adds the existing OUT_DIR rule as an order-only prerequisite. The retained test-gpu-qmd-shared-clean-build regression creates a temporary parent, leaves its child output directory absent, and invokes the ordinary host-only QMD test target with that child as OUT_DIR. It is in HOST_TESTS. The recipe propagates failures and removes its own temporary directory.

Measured host outcomes

Commands and captured output are in host-checks.log.

The negative control must use a separate fixture's default Makefile: changing only a make -f parent would leave the recursive make reading the original file.

The initial review found that directly executing the binary outside recursive make broke dry-run behavior. The final recipe invokes the ordinary test target, so recursive make carries the dry-run flag through both build and execution.

Verification boundary

Full make test, complete library build, native-artifact and zero-CUDA gates were NOT_RUN locally in this source-bounded fixture. The draft PR's exact-head ARM64 CI is the full-repository gate; its result is reported separately. No simulator result or physical GPU result is claimed by this receipt. No device, driver, live service, installation or deployment was touched. No existing receipt was edited.

The repository publication scanner's self-test passed: measured output SELFTEST PASS: planted 17 ... found 17; binary listed. The changed-file publication scan is recorded in the pull request.