MUDA
Loading...
Searching...
No Matches
muda::ComputeGraph Class Reference

Classes

class  AddNodeProxy
 
class  GraphPhaseGuard
 

Public Types

using Dependency = ComputeGraphDependency
 

Public Member Functions

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

Friends

class ComputeGraphVarBase
 
class ComputeGraphVarManager
 
class AddNodeProxy
 
class ComputeGraphNodeBase
 
class ComputeGraphClosure
 
class ComputeGraphBuilder
 
class muda::details::ComputeGraphAccessor
 

The documentation for this class was generated from the following files: