tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
tvm::tirx::ThreadScope Class Reference

Canonical thread-scope identity, named as backend.scope. More...

#include <thread_scope.h>

Inheritance diagram for tvm::tirx::ThreadScope:
Collaboration diagram for tvm::tirx::ThreadScope:

Public Member Functions

 ThreadScope (const ffi::String &name)
 
const ffi::String & name () const
 
bool operator== (const ThreadScope &other) const
 
bool operator!= (const ThreadScope &other) const
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ThreadScope, ffi::Enum, ThreadScopeObj)
 

Static Public Member Functions

static TVM_TIRX_DLL ThreadScope Get (const ffi::String &name)
 

Detailed Description

Canonical thread-scope identity, named as backend.scope.

Backends register tags with EnumDef<ThreadScopeObj> and explicit backend and rank attributes. Registration order has no hierarchy semantics.

Constructor & Destructor Documentation

◆ ThreadScope()

tvm::tirx::ThreadScope::ThreadScope ( const ffi::String &  name)
inlineexplicit

Member Function Documentation

◆ Get()

static TVM_TIRX_DLL ThreadScope tvm::tirx::ThreadScope::Get ( const ffi::String &  name)
static

◆ name()

const ffi::String & tvm::tirx::ThreadScope::name ( ) const
inline

◆ operator!=()

bool tvm::tirx::ThreadScope::operator!= ( const ThreadScope &  other) const
inline

◆ operator==()

bool tvm::tirx::ThreadScope::operator== ( const ThreadScope &  other) const
inline

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::tirx::ThreadScope::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( ThreadScope  ,
ffi::Enum  ,
ThreadScopeObj   
)

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