20#ifndef TVM_TIRX_TILE_EXEC_SCOPE_H_
21#define TVM_TIRX_TILE_EXEC_SCOPE_H_
22#include <tvm/ffi/object.h>
38 namespace refl = tvm::ffi::reflection;
39 refl::ObjectDef<ExecScopeNode>()
Definition exec_scope.h:30
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind
Definition exec_scope.h:43
static void RegisterReflection()
Definition exec_scope.h:37
ffi::String scope_name
Definition exec_scope.h:33
ffi::String backend
Definition exec_scope.h:32
TVM_FFI_DECLARE_OBJECT_INFO("tirx.ExecScope", ExecScopeNode, ffi::Object)
ffi::String name() const
Definition exec_scope.h:34
Definition exec_scope.h:47
TVM_TIRX_DLL ExecScope(ffi::String backend, ffi::String name)
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE(ExecScope, ffi::ObjectRef, ExecScopeNode)
Backend-defined execution hierarchy nodes shared by layouts and tile calls.
Definition axis_group_graph.h:41
TVM_TIRX_DLL void RegisterExecScope(const ffi::String &backend, const ffi::String &name, int rank)
Register a backend's execution hierarchy. Smaller rank means wider scope.
TVM_TIRX_DLL bool ScopeHigher(const ExecScope &a, const ExecScope &b)
Compare scopes within the same backend's hierarchy.
#define TVM_TIRX_DLL
Definition base.h:83