tvm_tirx.codegen.load_static_library

tvm_tirx.codegen.load_static_library#

tvm_tirx.codegen.load_static_library(path, func_names)#

Load an object file as a static library module without relinking it.

Parameters:
  • path (str) – Path to the object file (.o) to load.

  • func_names (Sequence[str]) – Names of the functions implemented by the object file.

Returns:

module (tvm_ffi.Module) – Static library module that can be imported into another module for linking during export. It is not converted to a shared library here.