struct
cudaGraphExecCreatora functor for creating an executable CUDA graph
This structure provides an overloaded function call operator to create a new executable CUDA graph using cudaGraphCreate
.
Public functions
- auto operator()() const -> cudaGraphExec_t
- returns a null executable CUDA graph
- auto operator()(cudaGraphExec_t exec) const -> cudaGraphExec_t
- returns the given executable graph
- auto operator()(cudaGraph_t graph) const -> cudaGraphExec_t
- returns a newly instantiated executable graph from the given CUDA graph