tvm
Classes | Namespaces | Functions | Variables
function.h File Reference

TIR Function. More...

#include <tvm/ir/function.h>
#include <tvm/runtime/ndarray.h>
#include <tvm/tir/buffer.h>
#include <tvm/tir/expr.h>
#include <tvm/tir/stmt.h>
#include <string>
Include dependency graph for function.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::tir::PrimFuncNode
 Primitive functions that contains TIR statements. More...
 
class  tvm::tir::PrimFunc
 Managed reference to PrimFuncNode. More...
 
class  tvm::tir::TensorIntrinNode
 Tensor intrinsics for tensorization. More...
 
class  tvm::tir::TensorIntrin
 Managed reference to TensorIntrinNode. More...
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 
 tvm::tir
 
 tvm::tir::attr
 PrimFunc specific attribute names.
 

Functions

PrimFunc tvm::tir::Specialize (PrimFunc func, const Map< Var, Variant< Buffer, PrimExpr >> &param_map)
 Specialize parameters of PrimFunc. More...
 

Variables

constexpr const char * tvm::tir::attr::kKernelLaunchParams = "tir.kernel_launch_params"
 List of thread IterVar that a DeviceLaunch function corresponds to. More...
 
constexpr const char * tvm::tir::attr::kNoAlias = "tir.noalias"
 Whether to set noalias rule on the function arguments. More...
 
constexpr const char * tvm::tir::attr::kIsEntryFunc = "tir.is_entry_func"
 Mark the function as the entry function of the final generated runtime module. More...
 
constexpr const char * tvm::tir::attr::kIsGlobalFunc = "tir.is_global_func"
 Mark the function as the global function called from the host. More...
 
constexpr const char * tvm::tir::attr::kIsHostFunc = "tir.is_host_func"
 Mark the function as run on the host, mutually exclusive with kTarget. More...
 
constexpr const char * tvm::tir::attr::kIsScheduled = "tir.is_scheduled"
 Mark the function as scheduled, so the default schedule will pass will skip it. More...
 

Detailed Description

TIR Function.