tvm_tirx.tirx.compilation_pipeline.tirx_pipeline

Contents

tvm_tirx.tirx.compilation_pipeline.tirx_pipeline#

tvm_tirx.tirx.compilation_pipeline.tirx_pipeline(*, prepare_only=False, target=None)#

Prepare TIRx functions and optionally lower their module-wide ABI.

Dispatch tile instructions, lower layouts, flatten tensors, simplify indices and loops, and verify memory accesses.

Parameters:
Returns:

stages (tuple) – Lowering pass, host-finalization factory, and device-finalization factory.