tvm
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::runtime::profiling::DeviceWrapperNode Struct Reference

Wrapper for Device because Device is not passable across the ffi::Function interface. More...

#include <profiling.h>

Inheritance diagram for tvm::runtime::profiling::DeviceWrapperNode:
Collaboration diagram for tvm::runtime::profiling::DeviceWrapperNode:

Public Member Functions

 DeviceWrapperNode (Device device)
 
 TVM_DECLARE_BASE_OBJECT_INFO (DeviceWrapperNode, Object)
 

Public Attributes

Device device
 

Static Public Attributes

static constexpr const char * _type_key = "runtime.profiling.DeviceWrapper"
 

Detailed Description

Wrapper for Device because Device is not passable across the ffi::Function interface.

Constructor & Destructor Documentation

◆ DeviceWrapperNode()

tvm::runtime::profiling::DeviceWrapperNode::DeviceWrapperNode ( Device  device)
inlineexplicit

Constructor

Member Function Documentation

◆ TVM_DECLARE_BASE_OBJECT_INFO()

tvm::runtime::profiling::DeviceWrapperNode::TVM_DECLARE_BASE_OBJECT_INFO ( DeviceWrapperNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::runtime::profiling::DeviceWrapperNode::_type_key = "runtime.profiling.DeviceWrapper"
staticconstexpr

◆ device

Device tvm::runtime::profiling::DeviceWrapperNode::device

The device


The documentation for this struct was generated from the following file: