Class Graph

Inheritance Relationships

Base Type

Class Documentation

class Graph : public cu::Wrapper<CUgraph>

Public Functions

inline explicit Graph(cu::Context &context, CUgraph &graph)
inline explicit Graph(cu::Context &context, unsigned int flags = CU_GRAPH_DEFAULT)
inline void addKernelNode(GraphNode &node, const std::vector<CUgraphNode> &dependencies, GraphKernelNodeParams &params)
inline void addHostNode(GraphNode &node, const std::vector<CUgraphNode> &dependencies, GraphHostNodeParams &params)
inline void addDevMemFreeNode(GraphNode &node, const std::vector<CUgraphNode> &dependencies, const CUdeviceptr &devPtr)
inline void addMemAllocNode(GraphNode &node, const std::vector<CUgraphNode> &dependencies, GraphDevMemAllocNodeParams &params)
inline void addMemCpyNode(GraphNode &node, const std::vector<CUgraphNode> &dependencies, GraphMemCopyToDeviceNodeParams &params)
inline void addMemCpyNode(GraphNode &node, const std::vector<CUgraphNode> &dependencies, GraphMemCopyToHostNodeParams &params)
inline void debugDotPrint(std::string path, CUgraphDebugDot_flags flags = CUgraphDebugDot_flags::CU_GRAPH_DEBUG_DOT_FLAGS_VERBOSE)
inline CUgraphExec instantiateWithFlags(unsigned int flags = CU_GRAPH_DEFAULT)