tvm
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
codegen.h File Reference

Shared module build dispatch and imported-module packing. More...

#include <tvm/ffi/extra/module.h>
#include <tvm/ir/module.h>
#include <tvm/runtime/base.h>
#include <tvm/target/target.h>
#include <string>
Include dependency graph for codegen.h:

Go to the source code of this file.

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::codegen
 namespace for target translation and codegen.
 
namespace  tvm::codegen::attr
 

Functions

TVM_TIRX_DLL ffi::Module tvm::codegen::Build (IRModule mod, Target target)
 Build a runtime module from an IRModule for the requested target.
 
TVM_TIRX_DLL ffi::String tvm::codegen::PackImportsToC (const ffi::Module &m, bool system_lib, const ffi::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.
 
TVM_TIRX_DLL void tvm::codegen::PackImportsToObjectFile (const ffi::Module &mod, bool system_lib, const ffi::String &llvm_target_string, const ffi::String &file_name, const ffi::String &c_symbol_prefix="")
 Pack imported device libraries into an object file using LLVM.
 

Variables

constexpr ffi::reflection::AttrKey< bool > tvm::codegen::attr::kParallelStridePattern
 

Detailed Description

Shared module build dispatch and imported-module packing.