Skip to content

Class muda::ComputeGraphNodeBase

ClassList > muda > ComputeGraphNodeBase

Inherited by the following classes: muda::ComputeGraphCaptureNode, muda::ComputeGraphNode

Public Functions

Type Name
auto access_index () const
auto name () const
auto node_id () const
auto type () const
virtual ~ComputeGraphNodeBase () = default

Protected Types

Type Name
typedef std::shared_ptr< T > S

Protected Attributes

Type Name
uint64_t m_access_index
cudaGraphNode_t m_cuda_node = = nullptr
std::string m_name
NodeId m_node_id
ComputeGraphNodeType m_type

Protected Functions

Type Name
ComputeGraphNodeBase (std::string_view name, NodeId node_id, uint64_t access_index, ComputeGraphNodeType type)
auto handle () const
auto is_valid () const
void set_handle (cudaGraphNode_t handle)

Public Functions Documentation

function access_index

inline auto muda::ComputeGraphNodeBase::access_index () const

function name

inline auto muda::ComputeGraphNodeBase::name () const

function node_id

inline auto muda::ComputeGraphNodeBase::node_id () const

function type

inline auto muda::ComputeGraphNodeBase::type () const

function ~ComputeGraphNodeBase

virtual muda::ComputeGraphNodeBase::~ComputeGraphNodeBase () = default

Protected Types Documentation

typedef S

using muda::ComputeGraphNodeBase::S =  std::shared_ptr<T>;

Protected Attributes Documentation

variable m_access_index

uint64_t muda::ComputeGraphNodeBase::m_access_index;

variable m_cuda_node

cudaGraphNode_t muda::ComputeGraphNodeBase::m_cuda_node;

variable m_name

std::string muda::ComputeGraphNodeBase::m_name;

variable m_node_id

NodeId muda::ComputeGraphNodeBase::m_node_id;

variable m_type

ComputeGraphNodeType muda::ComputeGraphNodeBase::m_type;

Protected Functions Documentation

function ComputeGraphNodeBase

inline muda::ComputeGraphNodeBase::ComputeGraphNodeBase (
    std::string_view name,
    NodeId node_id,
    uint64_t access_index,
    ComputeGraphNodeType type
) 

function handle

inline auto muda::ComputeGraphNodeBase::handle () const

function is_valid

inline auto muda::ComputeGraphNodeBase::is_valid () const

function set_handle

inline void muda::ComputeGraphNodeBase::set_handle (
    cudaGraphNode_t handle
) 


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