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 / docs / CI_ACCEPTANCE.md

50 lines · 6197 bytes Raw Blame History Source

CI acceptance

A pull-request check is a result for the commit GitHub built. A green host check is not a GB10 qualification. Commands that did not run are NOT_RUN.

The workflow is .github/workflows/host-gates.yml. It composes with the jobs that already exist:

What each gate is

CommandWhere it runsWhat a pass is
make -j4host-gates / fresh-checkout, ubuntu-24.04-arm, 30 minute limitExit 0. build/libomega_gpu.a and build/libcudapp.a exist. Their sha256 is uploaded.
make testci.yml / host-tests, same arm runnerExit 0 and the final CUDA++ HOST TESTS PASS line. Needs the pinned nvdisasm 13.0.85, full git history, and the pinned Omega tools named in that workflow.
make test-native-artifacthost-gates / fresh-checkoutExit 0, ARTIFACT EXPORT SHAPES PASS from tools/artifact_export_shapes.sh, and a last summary test_gpu_artifact_export: <n> checks, 0 failed.
make zero-cuda-gatehost-gates / fresh-checkoutExit 0. The log still shows ZERO_CUDA FAIL for the stub libcudart probe, then ZERO_CUDA SELF-TEST PASS, then ZERO_CUDA PASS for build/hello_gpu and build/gpu_matmul_api_test.
build/hello_gpu --simhost-gates / fresh-checkoutExit 0, the host-simulator sentence, the 1048576-element check, the work line, the pinned output sha256, and the same hashes on a second run. This is the warp simulator.
make doctorhost-gates / fresh-checkoutThe runner has no NVIDIA module and no GPU node, so make exits 2 and the log contains NOT READY: plus the five refusal lines and NOT_RUN for the seeded target table. A line READY. Next: make hello-gpu fails the job. Chip qualification stays NOT_RUN.
python3 tools/figures/make_figures.py --checkhost-gates / figures, ubuntu-latest, 5 minute limitExit 0 and figures current: <n>. docs/img/stack.svg is one of those files.

build/hello_gpu --sim --bug=past-end must exit 1, print the FAULT line, and name 0 bytes past the end of buffer a. That path does not print PASS. build/hello_gpu --bug=past-end must exit 2 and refuse to run off the simulator. Those two are negative controls. make zero-cuda-gate also prints ZERO_CUDA FAIL for its stub probe. That text stays in the log. The job is judged by its exit code and its last line, CUDA++ HOST GATES PASS, the same way make test is judged.

The checker itself has a negative control: tools/ci/host-gates.sh --self-test. A log that contains ZERO_CUDA FAIL and still exits 0 must be accepted. A doctor log that says NOT READY must be accepted. A doctor log that also says READY. Next: make hello-gpu must be rejected. A figure log that says stale figures must be rejected.

Classes

Figures

tools/figures/make_figures.py is the source of the README pictures. --check compares its bytes with docs/img/. On 522ee0d it printed figures current: 10, so docs/img/stack.svg already matched the generator. A later change that moves the generator must commit the regenerated SVG in the same change. A hand edit that makes the SVG disagree with the generator fails the check. The rendered legend test (tools/figures/test_stack_legend.py) needs Inkscape. The hosted figure job does not install Inkscape, so that test is NOT_RUN there. When Inkscape is on PATH, the same job runs it.

Toolchain

fresh-checkout uses the ubuntu-24.04-arm image's gcc, make and python3. It installs no packages and no CUDA toolkit. make -j4 is the compile budget. The job records git rev-parse HEAD, uname, the compiler line and the archive sha256 in the host-gates-<sha> artifact. The figure job uploads host-gates-figures-<sha>. No vendor binary, model weight or home-directory path is committed.

make test on the arm runner still installs the checksum-verified nvdisasm named in ci.yml. That oracle is verification-only. The host-gates job does not need it.

What a green pull request does not prove

The active ruleset main-verified-promotion blocks deletion and non-fast-forward pushes. It does not list required status checks. The workflows start on every pull request. Marking a check required is an administrator change and is NOT_RUN here.

An outside engineer following docs/START_HERE.md on a machine this repository does not control is NOT_RUN.

make hello-gpu, every chip test, and any open of /dev/nvidia* or /dev/aien-gpu are NOT_RUN on these runners.