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

Function nodes. More...

#include <tvm/ir/attrs.h>
#include <tvm/ir/expr.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/map.h>
#include <tvm/runtime/container/string.h>
#include <string>
#include <type_traits>
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::BaseFuncNode
 Base node of all functions. More...
 
class  tvm::BaseFunc
 Managed reference to BaseFuncNode. More...
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 
 tvm::attr
 Generic attribute names that can be attached to any function.
 

Enumerations

enum class  tvm::CallingConv : int { tvm::kDefault = 0 , tvm::kCPackedFunc = 1 , tvm::kDeviceKernelLaunch = 2 }
 Possible Calling conventions. More...
 
enum class  tvm::LinkageType : int { tvm::kInternal = 0 , tvm::kExternal = 1 }
 Supported linkage types. More...
 

Variables

constexpr const char * tvm::attr::kCallingConv = "calling_conv"
 Indicates the special calling convention. More...
 
constexpr const char * tvm::attr::kTarget = "target"
 Compilation target of the function. More...
 
constexpr const char * tvm::attr::kGlobalSymbol = "global_symbol"
 Global linker symbol of the function in generated code. More...
 

Detailed Description

Function nodes.