class
cudaGraphExecCreatorclass to create functors for constructing executable CUDA graphs
This class 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
-
template<typename C, typename D>auto operator()(const cudaGraphBase<C, D>& graph) const -> cudaGraphExec_t
- returns a newly instantiated executable graph from the given CUDA graph