tvm
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions
tvm::tirx::tile Namespace Reference

Namespaces

namespace  callback
 
namespace  op_attr
 

Classes

class  DispatchContext
 Managed reference to DispatchContextObj. More...
 
class  DispatchContextObj
 The context information of the kernel required by op dispatch. More...
 

Typedefs

using FTileOpDispatch = decltype(op_attr::kTileOpDispatch)::ValueType
 

Functions

TVM_TIRX_DLL Stmt Dispatch (const Call &call, const DispatchContext &context)
 Invoke the Call's FTileOpDispatch attribute.
 
TVM_TIRX_DLL void ConfigureTensorInstruction (Op op, ffi::Function validator)
 Attach the native Call contract and backend validator to a tile instruction.
 

Typedef Documentation

◆ FTileOpDispatch

using tvm::tirx::tile::FTileOpDispatch = typedef decltype(op_attr::kTileOpDispatch)::ValueType

Function Documentation

◆ ConfigureTensorInstruction()

TVM_TIRX_DLL void tvm::tirx::tile::ConfigureTensorInstruction ( Op  op,
ffi::Function  validator 
)

Attach the native Call contract and backend validator to a tile instruction.

◆ Dispatch()

TVM_TIRX_DLL Stmt tvm::tirx::tile::Dispatch ( const Call &  call,
const DispatchContext &  context 
)

Invoke the Call's FTileOpDispatch attribute.

Parameters
callThe tile instruction to lower.
contextThe operator's execution context and accumulated callbacks.
Returns
The instruction implementation statement, expanded by TileDispatch.