Skip to content

Class muda::ComputeGraph

ClassList > muda > ComputeGraph

Classes

Type Name
class AddNodeProxy
class GraphPhaseGuard

Public Types

Type Name
typedef ComputeGraphDependency Dependency

Public Functions

Type Name
ComputeGraph (const ComputeGraph &) = delete
ComputeGraph (ComputeGraph &&) = delete
ComputeGraph (ComputeGraphVarManager & manager, std::string_view name="graph", ComputeGraphFlag flag=ComputeGraphFlag::HostLaunch)
void build ()
void capture (std::function< void(cudaStream_t)> && f)
void capture (std::string_view name, std::function< void(cudaStream_t)> && f)
AddNodeProxy create_node (std::string_view node_name)
void graphviz (std::ostream & o, const ComputeGraphGraphvizOptions & options={})
void launch (bool single_stream, cudaStream_t s=nullptr)
void launch (cudaStream_t s=nullptr)
std::string_view name () const
operator GraphViewer ()
ComputeGraph & operator= (const ComputeGraph &) = delete
ComputeGraph & operator= (ComputeGraph &&) = delete
Event::QueryResult query () const
void update ()
GraphViewer viewer ()
~ComputeGraph ()

Public Types Documentation

typedef Dependency

using muda::ComputeGraph::Dependency =  ComputeGraphDependency;

Public Functions Documentation

function ComputeGraph [1/3]

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

function ComputeGraph [2/3]

muda::ComputeGraph::ComputeGraph (
    ComputeGraph &&
) = delete

function ComputeGraph [3/3]

muda::ComputeGraph::ComputeGraph (
    ComputeGraphVarManager & manager,
    std::string_view name="graph",
    ComputeGraphFlag flag=ComputeGraphFlag::HostLaunch
) 

function build

void muda::ComputeGraph::build () 

function capture [1/2]

void muda::ComputeGraph::capture (
    std::function< void(cudaStream_t)> && f
) 

function capture [2/2]

void muda::ComputeGraph::capture (
    std::string_view name,
    std::function< void(cudaStream_t)> && f
) 

function create_node

AddNodeProxy muda::ComputeGraph::create_node (
    std::string_view node_name
) 

function graphviz

void muda::ComputeGraph::graphviz (
    std::ostream & o,
    const ComputeGraphGraphvizOptions & options={}
) 

function launch [1/2]

void muda::ComputeGraph::launch (
    bool single_stream,
    cudaStream_t s=nullptr
) 

function launch [2/2]

inline void muda::ComputeGraph::launch (
    cudaStream_t s=nullptr
) 

function name

inline std::string_view muda::ComputeGraph::name () const

function operator GraphViewer

inline muda::ComputeGraph::operator GraphViewer () 

function operator=

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

function operator=

ComputeGraph & muda::ComputeGraph::operator= (
    ComputeGraph &&
) = delete

function query

Event::QueryResult muda::ComputeGraph::query () const

function update

void muda::ComputeGraph::update () 

function viewer

GraphViewer muda::ComputeGraph::viewer () 

function ~ComputeGraph

muda::ComputeGraph::~ComputeGraph () 

Friends Documentation

friend ComputeGraphAccessor

class muda::ComputeGraph::ComputeGraphAccessor (
    muda::details::ComputeGraphAccessor
) 


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