tvm
|
Translates IRModule to runtime::Module. More...
#include <tvm/ir/module.h>
#include <tvm/runtime/packed_func.h>
#include <tvm/target/target.h>
#include <tvm/tir/expr.h>
#include <string>
Go to the source code of this file.
Namespaces | |
tvm | |
Performance counters for profiling via the PAPI library. | |
tvm::codegen | |
namespace for target translation and codegen. | |
Functions | |
runtime::Module | tvm::codegen::Build (IRModule mod, Target target) |
Build a module from array of lowered function. More... | |
std::string | tvm::codegen::SerializeModuleToBytes (const runtime::Module &mod, bool export_dso=true) |
Serialize runtime module including its submodules. More... | |
runtime::Module | tvm::codegen::DeserializeModuleFromBytes (std::string blob) |
Deserialize runtime module including its submodules. More... | |
std::string | tvm::codegen::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 allow the DSO loader to automatically discover and import the dependency from the shared library. More... | |
runtime::Module | tvm::codegen::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 will allow the DSO loader to automatically discover and import the dependency from the shared library. More... | |
Translates IRModule to runtime::Module.