tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
tile_primitive.h File Reference

TIRX tile primitive statements, operators, and reified lambda expressions. More...

#include <tvm/ffi/object.h>
#include <tvm/ir/op.h>
#include <tvm/target/target.h>
#include <tvm/tirx/exec_scope.h>
#include <tvm/tirx/stmt.h>
#include <tvm/tirx/var.h>
Include dependency graph for tile_primitive.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::tirx::LambdaExprNode
 A reified Python lambda: a list of bound variables and a body over them. More...
 
class  tvm::tirx::LambdaExpr
 Managed reference to LambdaExprNode. More...
 
class  tvm::tirx::DispatchContextNode
 The context information of the kernel required by op dispatch. More...
 
class  tvm::tirx::DispatchContext
 Managed reference to DispatchContextNode. More...
 
class  tvm::tirx::TilePrimitiveCallNode
 TIRX TilePrimitiveCall stmt. More...
 
class  tvm::tirx::TilePrimitiveCall
 Managed reference to TilePrimitiveCallNode. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::tirx
 
namespace  tvm::tirx::callback
 

Typedefs

using tvm::tirx::FArgSanitizer = ffi::TypedFunction< void(tvm::Op, ffi::Array< ffi::ObjectRef >)>
 The type of the function that sanitizes the arguments of a TIRX operator.
 

Functions

const Optvm::tirx::cast ()
 See pesudo code below:
 
const Optvm::tirx::copy ()
 See pesudo code below:
 
const Optvm::tirx::copy_async ()
 See pesudo code below:
 
const Optvm::tirx::fill ()
 See pesudo code below:
 
const Optvm::tirx::gemm ()
 See pesudo code below:
 
const Optvm::tirx::gemm_async ()
 See pesudo code below:
 
const Optvm::tirx::zero ()
 
const Optvm::tirx::sqrt ()
 
const Optvm::tirx::exp ()
 
const Optvm::tirx::exp2 ()
 
const Optvm::tirx::add ()
 
const Optvm::tirx::sub ()
 
const Optvm::tirx::mul ()
 
const Optvm::tirx::fdiv ()
 
const Optvm::tirx::minimum ()
 
const Optvm::tirx::maximum ()
 
const Optvm::tirx::reciprocal ()
 
const Optvm::tirx::sum ()
 
const Optvm::tirx::max ()
 
const Optvm::tirx::min ()
 
const Optvm::tirx::memset ()
 
const Optvm::tirx::reduce_negate ()
 
const Optvm::tirx::binary_reduce ()
 
const Optvm::tirx::unary_reduce ()
 
const Optvm::tirx::binary_chain ()
 
const Optvm::tirx::select ()
 
const Optvm::tirx::fma ()
 
const Optvm::tirx::silu ()
 
const Optvm::tirx::compose_op ()
 
const Optvm::tirx::permute_layout ()
 

Variables

constexpr const chartvm::tirx::callback::kPrivateAlloc = "private_alloc"
 The buffers allocated by the operator.
 
constexpr const chartvm::tirx::callback::kDeviceInitStmt = "device_init_stmt"
 The initialization statement of the operator. which will be inserted at the beginning of the kernel.
 
constexpr const chartvm::tirx::callback::kHostInitStmt = "host_init_stmt"
 The initialization statement of the operator. which will be inserted at the beginning of the kernel.
 
constexpr const chartvm::tirx::callback::kPostBufferDefStmt = "post_buffer_def_stmt"
 Statements to be inserted after a specific buffer's definition (DeclBuffer/AllocBuffer). Stored as Map<BufferVar, ffi::Array<Stmt>>.
 

Detailed Description

TIRX tile primitive statements, operators, and reified lambda expressions.