Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions cudax/include/cuda/experimental/__graph/graph_node_ref.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,24 @@ struct graph_node_ref
::cuda::std::fill(__src_arr.get(), __src_arr.get() + __deps.size(), __node_);

// Add the dependencies using __src_arr array and the span of dependencies.
#if _CCCL_CTK_AT_LEAST(13, 0)
_CCCL_TRY_CUDA_API(
cudaGraphAddDependencies,
"cudaGraphAddDependencies failed",
__graph_,
__deps.data(), // dependencies
__src_arr.get(), // dependant nodes
__nullptr, // no edge data
Copy link
Contributor

Choose a reason for hiding this comment

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

s/__nullptr/nullptr/, we all missed this 😅

I've fixed this in #5431.

__deps.size()); // number of dependencies
#else
_CCCL_TRY_CUDA_API(
cudaGraphAddDependencies,
"cudaGraphAddDependencies failed",
__graph_,
__deps.data(), // dependencies
__src_arr.get(), // dependant nodes
__deps.size()); // number of dependencies
#endif
}
}

Expand Down
Loading