|
tvm
|
Canonical thread-scope identity, named as backend.scope. More...
#include <thread_scope.h>
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) |
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.
|
inlineexplicit |
|
static |
|
inline |
|
inline |
|
inline |
| tvm::tirx::ThreadScope::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE | ( | ThreadScope | , |
| ffi::Enum | , | ||
| ThreadScopeObj | |||
| ) |