15 auto node_id()
const {
return m_node_id; }
16 auto access_index()
const {
return m_access_index; }
17 auto type()
const {
return m_type; }
18 auto name()
const {
return std::string_view{m_name}; }
24 using S = std::shared_ptr<T>;
31 , m_access_index(access_index)
38 uint64_t m_access_index;
40 ComputeGraphNodeType m_type;
41 cudaGraphNode_t m_cuda_node =
nullptr;
44 auto handle()
const {
return m_cuda_node; }
45 void set_handle(cudaGraphNode_t handle) { m_cuda_node = handle; }
46 auto is_valid()
const {
return m_cuda_node; }