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

#include <layout.h>

Inheritance diagram for tvm::tirx::AxisObj:
Collaboration diagram for tvm::tirx::AxisObj:

Public Member Functions

bool IsThreadAxis () const
 Check if the axis is a thread axis.
 
bool IsMemoryAxis () const
 Check if the axis is a memory axis.
 
TVM_TIRX_DLL ffi::Optional< ffi::String > GetBackend () const
 The backend owning this axis, if any.
 
TVM_TIRX_DLL ffi::Optional< ThreadScope > GetScope () const
 Get the scope of the (thread) axis.
 
TVM_TIRX_DLL ffi::Optional< ThreadScope > GetSubscope () const
 Get the subscope of the (thread) axis.
 
TVM_TIRX_DLL ffi::Optional< FAxisFuser > GetFuser () const
 Get the fuser of the (thread) axis.
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("tirx.Axis", AxisObj, ffi::EnumObj)
 

Member Function Documentation

◆ GetBackend()

TVM_TIRX_DLL ffi::Optional< ffi::String > tvm::tirx::AxisObj::GetBackend ( ) const

The backend owning this axis, if any.

◆ GetFuser()

TVM_TIRX_DLL ffi::Optional< FAxisFuser > tvm::tirx::AxisObj::GetFuser ( ) const

Get the fuser of the (thread) axis.

◆ GetScope()

TVM_TIRX_DLL ffi::Optional< ThreadScope > tvm::tirx::AxisObj::GetScope ( ) const

Get the scope of the (thread) axis.

◆ GetSubscope()

TVM_TIRX_DLL ffi::Optional< ThreadScope > tvm::tirx::AxisObj::GetSubscope ( ) const

Get the subscope of the (thread) axis.

◆ IsMemoryAxis()

bool tvm::tirx::AxisObj::IsMemoryAxis ( ) const
inline

Check if the axis is a memory axis.

◆ IsThreadAxis()

bool tvm::tirx::AxisObj::IsThreadAxis ( ) const
inline

Check if the axis is a thread axis.

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::tirx::AxisObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "tirx.Axis"  ,
AxisObj  ,
ffi::EnumObj   
)

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