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 | |
runtime implementation for LibTorch/TorchScript. | |
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::PackImportsToC (const runtime::Module &m, bool system_lib) |
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) |
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.