Skip to content

Class muda::ComputeGraphVarManager

ClassList > muda > ComputeGraphVarManager

Public Functions

Type Name
ComputeGraphVarManager () = default
S< ComputeGraph > create_graph (std::string_view name="graph", ComputeGraphFlag flags={})
ComputeGraphVar< T > & create_var (std::string_view name)
ComputeGraphVar< T > & create_var (std::string_view name, const T & init_value)
ComputeGraphVar< T > * find_var (std::string_view name)
const auto & graphs () const
void graphviz (std::ostream & os, const ComputeGraphGraphvizOptions & options={}) const
bool is_using () const
bool is_using (const ComputeGraphVar< T > &... vars) const
bool is_using (const span< const ComputeGraphVarBase * > vars) const
void sync () const
void sync (const ComputeGraphVar< T > &... vars) const
void sync (const span< const ComputeGraphVarBase * > vars) const
void sync_on (cudaStream_t stream) const
void sync_on (cudaStream_t stream, const ComputeGraphVar< T > &... vars) const
void sync_on (cudaStream_t stream, const span< const ComputeGraphVarBase * > vars) const
~ComputeGraphVarManager ()

Public Functions Documentation

function ComputeGraphVarManager

muda::ComputeGraphVarManager::ComputeGraphVarManager () = default

function create_graph

S< ComputeGraph > muda::ComputeGraphVarManager::create_graph (
    std::string_view name="graph",
    ComputeGraphFlag flags={}
) 

function create_var [1/2]

template<typename T>
ComputeGraphVar < T > & muda::ComputeGraphVarManager::create_var (
    std::string_view name
) 

function create_var [2/2]

template<typename T>
ComputeGraphVar < T > & muda::ComputeGraphVarManager::create_var (
    std::string_view name,
    const T & init_value
) 

function find_var

template<typename T>
ComputeGraphVar < T > * muda::ComputeGraphVarManager::find_var (
    std::string_view name
) 

function graphs

inline const auto & muda::ComputeGraphVarManager::graphs () const

function graphviz

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

function is_using [1/3]

bool muda::ComputeGraphVarManager::is_using () const

function is_using [2/3]

template<typename... T>
bool muda::ComputeGraphVarManager::is_using (
    const ComputeGraphVar < T > &... vars
) const

function is_using [3/3]

bool muda::ComputeGraphVarManager::is_using (
    const span< const ComputeGraphVarBase * > vars
) const

function sync [1/3]

void muda::ComputeGraphVarManager::sync () const

function sync [2/3]

template<typename... T>
void muda::ComputeGraphVarManager::sync (
    const ComputeGraphVar < T > &... vars
) const

function sync [3/3]

void muda::ComputeGraphVarManager::sync (
    const span< const ComputeGraphVarBase * > vars
) const

function sync_on [1/3]

void muda::ComputeGraphVarManager::sync_on (
    cudaStream_t stream
) const

function sync_on [2/3]

template<typename... T>
void muda::ComputeGraphVarManager::sync_on (
    cudaStream_t stream,
    const ComputeGraphVar < T > &... vars
) const

function sync_on [3/3]

void muda::ComputeGraphVarManager::sync_on (
    cudaStream_t stream,
    const span< const ComputeGraphVarBase * > vars
) const

function ~ComputeGraphVarManager

muda::ComputeGraphVarManager::~ComputeGraphVarManager () 


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