Repository navigation
Conversation
The CUDA workflow builds the tests but has no GPU to run them on. PantheonSim simulates one on the runner's CPU; the job now runs the [gpu] and [cuda] unit tests there, apart from the CCD and STQ cases on the large meshes, which take minutes each simulated.
saqibkh
force-pushed
the
ci-simulated-gpu
branch
from
October 8, 2026 12:42
f57765f to
dbfa5a4
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CUDA workflow builds the tests with
IPC_TOOLKIT_WITH_CUDA=ON, but the runners have no GPU, so the[gpu]and[cuda]tests (distances, normals, tangent bases, the GPU barrier, the LBVH build and candidate detection) never run. This runs them on a simulated NVIDIA T4, in both the Debug and Release jobs.How: PantheonSim, via
pantheongpu/setup-pantheonsim, installs the CUDA toolkit and simulates the GPU on the runner's CPU. The kernels run from their PTX (architecture 75 embeds it), so the results are real. There is no timing model, so this checks correctness, not performance.Changes, all in
cuda.yml:Jimver/cuda-toolkitis replaced bysetup-pantheonsim, with CUDA 12.8.permissions: contents: readfor the workflow.-DCMAKE_CUDA_RUNTIME_LIBRARY=Shared, because the simulator stands in for the CUDA runtime.ipc_toolkit_tests "[gpu]~[ccd]~[.],[cuda]~[stq]~[.]": every GPU test except the CCD and STQ cases on the cloth-ball and puffer-ball meshes, which take several minutes each on a simulated GPU, and the hidden benchmarks.What it can touch: the action is pinned by commit (v0.1.1), not by a tag, and it pins the simulator it builds by commit too, so nothing in the job changes until you move the pin. The workflow's token is read-only (
permissions: contents: read), and the action uses no token or secrets; it installs packages only from Ubuntu's and NVIDIA's repositories. Because this changes the existing CUDA jobs, a problem on the simulator's side would show as a failed CUDA job; if you'd rather it never block anything, the Tests step can takecontinue-on-error: true, and I'm happy to add that.What it gives, from a run on my fork:
Disclosure: I maintain PantheonSim. If the job is ever flaky or wrong, please open an issue at pantheongpu/pantheonsim and I'll fix it on our side.