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

Making CudaGraph-constructor SFINAE with `requires` by fior512 · Pull Request #803 · taskflow/taskflow · GitHub

Merged
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
2 changes: 2 additions & 0 deletions 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 @@ -545,8 +545,10 @@ class cudaGraphBase : public std::unique_ptr<std::remove_pointer_t<cudaGraph_t>,
Constructs a `cudaGraph` object by passing the given arguments to the executable CUDA graph creator
@param args arguments to pass to the executable CUDA graph creator
@note participates in overload resolution only if `Creator` invocable with `ArgsT...` with cudaGraph_t
*/
template <typename... ArgsT>
requires std::is_invocable_r_v<cudaGraph_t, Creator, ArgsT...>
explicit cudaGraphBase(ArgsT&& ... args) : base_type(
Creator{}(std::forward<ArgsT>(args)...), Deleter()
) {
Expand Down

Back | FazBrowse Home | New Git URL