Skip to content

[cudax] Implement replicate and join for path_builder#8021

Open
pciolkosz wants to merge 5 commits intoNVIDIA:mainfrom
pciolkosz:replicate_join_for_path_builder
Open

[cudax] Implement replicate and join for path_builder#8021
pciolkosz wants to merge 5 commits intoNVIDIA:mainfrom
pciolkosz:replicate_join_for_path_builder

Conversation

@pciolkosz
Copy link
Copy Markdown
Contributor

PR #8014 implements replicate and join for streams, this one does that for path_builder. The semantics is mostly the same as for streams, replicate creates a requested number of path builders in the same graph, replicate_prepend does the same but also add the input one to the output. join gathers all dependencies from one set of path builders and adds them to another set of path builders.
One observation was that we don't try to avoid duplicate dependencies in graph APIs and we possibly should take a look into that. join probably could use some duplicate dependency control, because the underlying driver API won't accept them. But that is a problem for another PR

@pciolkosz pciolkosz requested a review from a team as a code owner March 13, 2026 02:28
@pciolkosz pciolkosz requested a review from caugonnet March 13, 2026 02:28
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Mar 13, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Mar 13, 2026
@github-actions

This comment has been minimized.

//! \brief Add a range of dependency nodes to this path builder.
//! \param __deps The dependency node range to add.
template <size_t _Extent>
_CCCL_HOST_API void depends_on(::cuda::std::span<const cudaGraphNode_t, _Extent> __deps)
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.

Shouldn't this take a range instead of span?

@github-actions

This comment has been minimized.

@pciolkosz pciolkosz force-pushed the replicate_join_for_path_builder branch from 92f396b to 3653eca Compare March 13, 2026 23:43
@pciolkosz pciolkosz added the pre-commit.ci autofix apply pre-commit auto-fixes automatically label Mar 13, 2026
@pre-commit-ci pre-commit-ci Bot removed the pre-commit.ci autofix apply pre-commit auto-fixes automatically label Mar 13, 2026
@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot Bot commented Mar 13, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@pciolkosz
Copy link
Copy Markdown
Contributor Author

/ok to test 9862734

@github-actions

This comment has been minimized.

@pciolkosz
Copy link
Copy Markdown
Contributor Author

/ok to test c76f06c

@github-actions

This comment has been minimized.

@pciolkosz
Copy link
Copy Markdown
Contributor Author

/ok to test f29fab6

@github-actions
Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 20m 46s: Pass: 100%/48 | Total: 6h 50m | Max: 20m 29s | Hits: 92%/23649

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