Purpose and scope
Adds a GitHub Actions job that runs the portable host suite on an x86-64 runner, with the memory reserve set the way docs/OMEGA_HOST_TESTS.md describes, and builds the x86 freestanding link.
Refs #196. This pull request does not close the issue.
Files:
.github/workflows/host-x86.yml(new). Jobx86-host-testsonubuntu-24.04. It does not install nvdisasm, clone Omega, or open a GPU.docs/OMEGA_HOST_TESTS.md: one sentence naming that job.
git diff origin/main -- .github/workflows/ci.yml is empty. The AArch64 host-tests job is unchanged. No edits under src/, om/cubin/, or the files in pull request #170.
Commands the job runs:
make CC=gcc gpu-engine-freestanding
CUDAPP_MEM_RESERVE_MIB=0 make CC=gcc -j4 test
The freestanding step requires the compile of build/gpu_fs/cudapp_binding_portable.o to pass -DCUDAPP_MIGRATION_PENDING_C_ENCODER -DCUDAPP_MIGRATION_PENDING_C_CUBIN (CUDAPP_PORTABLE_DEFS in mk/omega-gpu-engine.mk) and requires the recipe line freestanding GPU link (<n> files): only ... undefined. The suite step requires exit 0 and a last line CUDA++ HOST TESTS PASS (<n> targets). The product default reserve stays 4096. The job sets CUDAPP_MEM_RESERVE_MIB=0 because that is the documented x86-64 command that passes when the host cannot keep 4096 MiB free.
How this sits with #90 and #189
- #90 (host gates on pull requests) can keep editing
.github/workflows/ci.ymland the AArch64host-testsjob. This change does not rewrite that workflow. It adds one file. - #189 (
make test-runtime-api) already has.github/workflows/runtime-api.ymlon main: the manifest check, the negative controls, and the version bump against the base commit, onubuntu-24.04-arm. This pull request does not edit that file. The portablemake testincludestest-runtime-apias one of its targets. It does not runtest-runtime-api-semver. That comparison stays inruntime-api.yml.
Evidence on the exact commit
Workflow commit 9cb330d7415f0e67fda9ad1ceed06e9b4f4243b0, parent 522ee0d063cbc93672091a0edd00a0866634b981.
GitHub Actions run https://github.com/aien-dev/CUDApp/actions/runs/41076382003, job x86-host-tests on ubuntu-24.04 (arch x86_64). Conclusion: success.
- Freestanding link step succeeded. Recipe line:
freestanding GPU link (15 files): only memcmp memcpy memset strcmp strlen undefined. The same log showsbuild/gpu_fs/cudapp_binding_portable.ocompiled with-DCUDAPP_MIGRATION_PENDING_C_ENCODER -DCUDAPP_MIGRATION_PENDING_C_CUBIN. - Portable suite step succeeded with
CUDAPP_MEM_RESERVE_MIB=0. Result line:CUDA++ HOST TESTS PASS (57 targets). - The job printed
GB10: NOT_RUN. It did not runmake hello-gpuand did not install a CUDA toolkit.
The same pull request's CI workflow still schedules host-tests on ubuntu-24.04-arm (run https://github.com/aien-dev/CUDApp/actions/runs/41076381664). That job definition is the file on main. This pull request does not change it.
A local run of the same two commands, on the parent sources before this commit (the workflow and the docs sentence are not inputs to make), also exited 0 on Linux x86_64, gcc 13.3.0, 4 cores: the same 57-target line and the same freestanding line. aarch64-linux-gnu-gcc was not installed there either.
-
make test(host-only). GitHub job and the local command both endedCUDA++ HOST TESTS PASS (57 targets). -
make CC=gcc gpu-engine-freestandingexited 0. Line:freestanding GPU link (15 files): only memcmp memcpy memset strcmp strlen undefined. -
make test-native-artifact(host-only). Inside the local suite:test_gpu_artifact_export: 47 checks, 0 failed. -
make zero-cuda-gateexited 0 inside that local suite.ZERO_CUDA SELF-TEST PASS.build/hello_gpuneedslibmandlibc.build/gpu_matmul_api_testneedslibc. -
build/hello_gpu --simran inside that local suite.hello --sim tests: 12 passed, 0 failed. -
make doctoras its own command. NOT RUN outside the suite.test-doctoris one of the 57 targets and the suite exited 0. - GB10 hardware tests. NOT RUN. This job does not open a device and does not run
make hello-gpu.
No new evidence/ directory. The Actions log is the receipt. A receipt folder would be a file beyond the workflow and the docs sentence.
Correctness, compatibility and provenance
- Negative controls stay the ones already in the suite (mutation
FAILlines, the freestanding malloc allowlist, the zero-CUDA self-test). This pull request does not weaken them. - Public runtime headers,
docs/runtime/omega_runtime_api.manifest, anddocs/runtime/API.mdare unchanged. The AArch64 library build is unchanged becauseci.ymlis unchanged. - No new source file. The workflow carries the same SPDX header as the other workflows. No NVIDIA binary, cubin, PTX, firmware, or vendor listing was added.
- No secrets, personal machine paths, or private addresses.
- Receipts under
evidence/were not edited.
Known limitations
- GB10 device behavior is NOT RUN.
- The job has passed on this pull request. It is wired to run on push to
mainas well. It has not run onmainyet, because this pull request is not merged. - The six seeded-binding and pinned-
omctargets stay outsidemake teston x86-64 and exit 2 when invoked directly.make test-omega-target-onlyis the report inside the suite. - A host with enough free memory still uses the default 4096 MiB reserve. This job sets 0 so the command matches the documented x86-64 pass, including on a runner that cannot keep 4096 MiB free.
- Passing this job is a host result. It is not a chip qualification.
— Grokbot
<div><a href="https://cursor.com/agents/bc-b872c9aa-98dd-50ff-aa2f-33452ce43d07?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-b872c9aa-98dd-50ff-aa2f-33452ce43d07&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>