FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cudaGraphBase: constrain the variadic ctor on Creator being invocable by Gooh456 · Pull Request #804 · taskflow/taskflow · GitHub

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .hpp  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 2 additions & 1 deletion taskflow/cuda/cuda_graph.hpp
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
Original file line number Diff line number Diff line change
Expand Up @@ -547,10 +547,11 @@ class cudaGraphBase : public std::unique_ptr<std::remove_pointer_t<cudaGraph_t>,
@param args arguments to pass to the executable CUDA graph creator
*/
template <typename... ArgsT>
requires std::invocable<Creator, ArgsT...>
explicit cudaGraphBase(ArgsT&& ... args) : base_type(
Creator{}(std::forward<ArgsT>(args)...), Deleter()
) {
}
}

/**
@brief constructs a `cudaGraph` from the given rhs using move semantics
Expand Down

Back | FazBrowse Home | New Git URL