tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
thread_scope.h File Reference

Enum identities for backend-defined thread hierarchies. More...

#include <tvm/ffi/enum.h>
#include <tvm/ffi/reflection/enum_def.h>
#include <tvm/runtime/base.h>
#include <ostream>
Include dependency graph for thread_scope.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::tirx::ThreadScopeObj
 
class  tvm::tirx::ThreadScope
 Canonical thread-scope identity, named as backend.scope. More...
 
struct  tvm::ffi::TypeTraits< tirx::ThreadScope >
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::tirx
 
namespace  tvm::tirx::thread_scope_attr
 
namespace  tvm::ffi
 

Functions

TVM_TIRX_DLL bool tvm::tirx::ScopeHigher (const ThreadScope &a, const ThreadScope &b)
 Compare explicit ranks within one backend's hierarchy.
 
std::ostream & tvm::tirx::operator<< (std::ostream &os, const ThreadScope &scope)
 

Variables

constexpr ffi::reflection::AttrKey< ffi::String > tvm::tirx::thread_scope_attr::kBackend {"backend"}
 Backend owning a thread scope.
 
constexpr ffi::reflection::AttrKey< int64_t > tvm::tirx::thread_scope_attr::kRank {"rank"}
 Explicit hierarchy rank. Smaller ranks denote wider scopes.
 

Detailed Description

Enum identities for backend-defined thread hierarchies.