heterocl.tvm.codegen module

Code generation related functions.

build_module(lowered_func, target)[source]

Build lowered_func into Module.

Parameters
  • lowered_func (LoweredFunc) – The lowered function

  • target (str) – The target module type.

Returns

module – The corressponding module.

Return type

Module