tvm_tirx.tirx.compile#
- tvm_tirx.tirx.compile(mod, target=None, pipeline='default')#
Compile a function or module to an executable for the target.
- Parameters:
target (Optional[Union[str, Target]]) – The target for compilation, including backend configuration defaults.
pipeline (Union[None, str, tvm_tirx.ir.transform.Pass]) – The pipeline to use for compilation.
- Returns:
tvm_tirx.codegen.Executable – An executable combining both host and device code.
- Return type: