24 #ifndef TVM_TARGET_CODEGEN_H_
25 #define TVM_TARGET_CODEGEN_H_
77 const std::string& c_symbol_prefix =
"");
93 const std::string& target_triple,
94 const std::string& c_symbol_prefix =
"");
Managed reference class to IRModuleNode.
Definition: module.h:366
Managed reference class to TargetNode.
Definition: target.h:200
Module container of TVM.
Definition: module.h:79
Packed function is a type-erased function. The arguments are passed by packed format.
Definition: packed_func.h:141
Arguments into TVM functions.
Definition: packed_func.h:394
Return Value container, Unlike TVMArgValue, which only holds reference and do not delete the underlyi...
Definition: packed_func.h:946
IRModule that holds the functions and type definitions.
runtime::Module PackImportsToLLVM(const runtime::Module &m, bool system_lib, const std::string &target_triple, const std::string &c_symbol_prefix="")
Pack imported device library to a LLVM module. Compile the LLVM module and link with the host library...
runtime::Module Build(IRModule mod, Target target)
Build a module from array of lowered function.
std::string SerializeModuleToBytes(const runtime::Module &mod, bool export_dso=true)
Serialize runtime module including its submodules.
runtime::Module DeserializeModuleFromBytes(std::string blob)
Deserialize runtime module including its submodules.
std::string PackImportsToC(const runtime::Module &m, bool system_lib, const std::string &c_symbol_prefix="")
Pack imported device library to a C file. Compile the C file and link with the host library will allo...
tvm::PrimExpr mod(const tvm::PrimExpr &a, const tvm::PrimExpr &b)
Definition: broadcast.h:290
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Type-erased function used across TVM API.
Compilation target object.