tvm
Public Member Functions | List of all members
tvm::tirx::ScopeIdDef Class Reference

#include <exec_scope.h>

Inheritance diagram for tvm::tirx::ScopeIdDef:
Collaboration diagram for tvm::tirx::ScopeIdDef:

Public Member Functions

 ScopeIdDef (ffi::Array< Var > def_ids, ffi::Optional< ffi::Array< PrimExpr >> extents, ScopeBinding scope, ffi::Optional< ffi::Array< PrimExpr >> preferred_extents=ffi::Optional< ffi::Array< PrimExpr >>(std::nullopt))
 
bool is_deferred () const
 Whether this def has a deferred (unknown) extent. More...
 
PrimExpr fused_extent () const
 Product of all extent dimensions. PRECONDITION: !is_deferred(). More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (ScopeIdDef, ffi::ObjectRef, ScopeIdDefNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (ScopeIdDefNode)
 

Constructor & Destructor Documentation

◆ ScopeIdDef()

tvm::tirx::ScopeIdDef::ScopeIdDef ( ffi::Array< Var def_ids,
ffi::Optional< ffi::Array< PrimExpr >>  extents,
ScopeBinding  scope,
ffi::Optional< ffi::Array< PrimExpr >>  preferred_extents = ffi::Optional< ffi::Array< PrimExpr >>(std::nullopt) 
)
explicit

Member Function Documentation

◆ fused_extent()

PrimExpr tvm::tirx::ScopeIdDef::fused_extent ( ) const

Product of all extent dimensions. PRECONDITION: !is_deferred().

◆ is_deferred()

bool tvm::tirx::ScopeIdDef::is_deferred ( ) const
inline

Whether this def has a deferred (unknown) extent.

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::tirx::ScopeIdDef::TVM_DEFINE_OBJECT_REF_COW_METHOD ( ScopeIdDefNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()

tvm::tirx::ScopeIdDef::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE ( ScopeIdDef  ,
ffi::ObjectRef  ,
ScopeIdDefNode   
)

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