Skip to content

[cudax] Implement more CUDA graphs APIs#8271

Open
pciolkosz wants to merge 4 commits intoNVIDIA:mainfrom
pciolkosz:implement_more_graph_apis
Open

[cudax] Implement more CUDA graphs APIs#8271
pciolkosz wants to merge 4 commits intoNVIDIA:mainfrom
pciolkosz:implement_more_graph_apis

Conversation

@pciolkosz
Copy link
Copy Markdown
Contributor

This PR throws away all graph node insertion APIs and instead adds __graphAddNode. The polymorphic cuGraphAddNode is the recommended way to add graph nodes and other APIs will get deprecated in the future.

It also adds a few new APIs:

  • child graph
  • copy/fill bytes
  • conditional node
  • event record/wait

@pciolkosz pciolkosz requested review from a team as code owners April 1, 2026 23:38
@pciolkosz pciolkosz requested review from andralex and griwes April 1, 2026 23:38
@github-project-automation github-project-automation bot moved this to Todo in CCCL Apr 1, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Apr 1, 2026
@pciolkosz pciolkosz requested review from davebayer and miscco April 2, 2026 00:50
@github-actions

This comment has been minimized.

cudax::launch(pb, test::one_thread_dims, test::verify_n<43>{}, ptr);

auto exec = g.instantiate();
exec.launch(s);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should have a test that verifies we can create a host callback like this and launch it multiple time (to ensure we properly destroy argument payload)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I added a test case like that

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

🥳 CI Workflow Results

🟩 Finished in 1h 27m: Pass: 100%/137 | Total: 1d 03h | Max: 56m 27s | Hits: 98%/282056

See results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants