Skip to content

Class muda::Graph

ClassList > muda > Graph

Public Functions

Type Name
Graph ()
Graph (const Graph &) = delete
Graph (Graph &&)
void add_dependency (S< GraphNode > from, S< GraphNode > to)
S< EventRecordNode > add_event_record_node (cudaEvent_t e, const std::vector< S< GraphNode > > & deps)
S< EventRecordNode > add_event_record_node (cudaEvent_t e)
S< EventWaitNode > add_event_wait_node (cudaEvent_t e, const std::vector< S< GraphNode > > & deps)
S< EventWaitNode > add_event_wait_node (cudaEvent_t e)
S< HostNode > add_host_node (const S< HostNodeParms< T > > & hostParms, const std::vector< S< GraphNode > > & deps)
S< HostNode > add_host_node (const S< HostNodeParms< T > > & hostParms)
S< KernelNode > add_kernel_node (const S< KernelNodeParms< T > > & kernelParms, const std::vector< S< GraphNode > > & deps)
S< KernelNode > add_kernel_node (const S< KernelNodeParms< T > > & kernelParms)
S< MemcpyNode > add_memcpy_node (void * dst, const void * src, size_t size_bytes, cudaMemcpyKind kind, const std::vector< S< GraphNode > > & deps)
S< MemcpyNode > add_memcpy_node (void * dst, const void * src, size_t size_bytes, cudaMemcpyKind kind)
S< MemcpyNode > add_memcpy_node (const cudaMemcpy3DParms & parms)
S< MemcpyNode > add_memcpy_node (const cudaMemcpy3DParms & parms, const std::vector< S< GraphNode > > & deps)
S< MemsetNode > add_memset_node (const cudaMemsetParams & parms, const std::vector< S< GraphNode > > & deps)
S< MemsetNode > add_memset_node (const cudaMemsetParams & parms)
cudaGraph_t handle () const
cudaGraph_t handle ()
MUDA_NODISCARD S< GraphExec > instantiate ()
MUDA_NODISCARD S< GraphExec > instantiate (Flags< GraphInstantiateFlagBit > flags)
Graph & operator= (const Graph &) = delete
Graph & operator= (Graph &&)
~Graph ()

Public Static Functions

Type Name
auto create ()

Public Functions Documentation

function Graph [1/3]

muda::Graph::Graph () 

function Graph [2/3]

muda::Graph::Graph (
    const Graph &
) = delete

function Graph [3/3]

muda::Graph::Graph (
    Graph &&
) 

function add_dependency

void muda::Graph::add_dependency (
    S< GraphNode > from,
    S< GraphNode > to
) 

function add_event_record_node [1/2]

S< EventRecordNode > muda::Graph::add_event_record_node (
    cudaEvent_t e,
    const std::vector< S< GraphNode > > & deps
) 

function add_event_record_node [2/2]

S< EventRecordNode > muda::Graph::add_event_record_node (
    cudaEvent_t e
) 

function add_event_wait_node [1/2]

S< EventWaitNode > muda::Graph::add_event_wait_node (
    cudaEvent_t e,
    const std::vector< S< GraphNode > > & deps
) 

function add_event_wait_node [2/2]

S< EventWaitNode > muda::Graph::add_event_wait_node (
    cudaEvent_t e
) 

function add_host_node [1/2]

template<typename T>
S< HostNode > muda::Graph::add_host_node (
    const S< HostNodeParms < T > > & hostParms,
    const std::vector< S< GraphNode > > & deps
) 

function add_host_node [2/2]

template<typename T>
S< HostNode > muda::Graph::add_host_node (
    const S< HostNodeParms < T > > & hostParms
) 

function add_kernel_node [1/2]

template<typename T>
S< KernelNode > muda::Graph::add_kernel_node (
    const S< KernelNodeParms < T > > & kernelParms,
    const std::vector< S< GraphNode > > & deps
) 

function add_kernel_node [2/2]

template<typename T>
S< KernelNode > muda::Graph::add_kernel_node (
    const S< KernelNodeParms < T > > & kernelParms
) 

function add_memcpy_node [1/4]

S< MemcpyNode > muda::Graph::add_memcpy_node (
    void * dst,
    const void * src,
    size_t size_bytes,
    cudaMemcpyKind kind,
    const std::vector< S< GraphNode > > & deps
) 

function add_memcpy_node [2/4]

S< MemcpyNode > muda::Graph::add_memcpy_node (
    void * dst,
    const void * src,
    size_t size_bytes,
    cudaMemcpyKind kind
) 

function add_memcpy_node [3/4]

S< MemcpyNode > muda::Graph::add_memcpy_node (
    const cudaMemcpy3DParms & parms
) 

function add_memcpy_node [4/4]

S< MemcpyNode > muda::Graph::add_memcpy_node (
    const cudaMemcpy3DParms & parms,
    const std::vector< S< GraphNode > > & deps
) 

function add_memset_node [1/2]

S< MemsetNode > muda::Graph::add_memset_node (
    const cudaMemsetParams & parms,
    const std::vector< S< GraphNode > > & deps
) 

function add_memset_node [2/2]

S< MemsetNode > muda::Graph::add_memset_node (
    const cudaMemsetParams & parms
) 

function handle [1/2]

inline cudaGraph_t muda::Graph::handle () const

function handle [2/2]

inline cudaGraph_t muda::Graph::handle () 

function instantiate [1/2]

MUDA_NODISCARD S< GraphExec > muda::Graph::instantiate () 

function instantiate [2/2]

MUDA_NODISCARD S< GraphExec > muda::Graph::instantiate (
    Flags < GraphInstantiateFlagBit > flags
) 

function operator=

Graph & muda::Graph::operator= (
    const Graph &
) = delete

function operator=

Graph & muda::Graph::operator= (
    Graph &&
) 

function ~Graph

muda::Graph::~Graph () 

Public Static Functions Documentation

function create

static inline auto muda::Graph::create () 

Friends Documentation

friend GraphExec

class muda::Graph::GraphExec (
    GraphExec
) 

friend shared_ptr< Graph >

class muda::Graph::shared_ptr< Graph > (
    std::shared_ptr< Graph >
) 


The documentation for this class was generated from the following file src/muda/graph/graph.h