tvm
trn.h
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
24 #ifndef TVM_TIRX_TARGET_BUILTIN_TRN_H_
25 #define TVM_TIRX_TARGET_BUILTIN_TRN_H_
26 
27 #include <tvm/tirx/expr.h>
28 #include <tvm/tirx/op.h>
29 
30 namespace tvm {
31 namespace tirx {
32 namespace builtin {
33 
39 TVM_DLL const Op& nki_load();
45 TVM_DLL const Op& nki_store();
51 TVM_DLL const Op& nki_tensor_copy();
59 TVM_DLL const Op& nki_matmul();
60 
66 TVM_DLL const Op& nki_activation();
67 
73 TVM_DLL const Op& nki_reciprocal();
74 
80 TVM_DLL const Op& nki_tensortensor();
81 
87 TVM_DLL const Op& nki_tensorscalar();
88 
94 TVM_DLL const Op& nki_tensorreduce();
95 
101 TVM_DLL const Op& nki_memset();
102 
108 TVM_DLL const Op& nki_activation_reduce();
109 
116 TVM_DLL const Op& nki_tensorscalar_reduce();
117 
123 TVM_DLL const Op& nki_identity();
124 
133 TVM_DLL const Op& nki_scalar_tensor_tensor();
134 
143 TVM_DLL const Op& nki_scalar_tensor_scalar();
144 
150 TVM_DLL const Op& nki_affine_select();
151 
152 } // namespace builtin
153 } // namespace tirx
154 } // namespace tvm
155 
156 #endif // TVM_TIRX_TARGET_BUILTIN_TRN_H_
Managed reference class to OpNode.
Definition: op.h:131
const Op & nki_scalar_tensor_scalar()
nki intrinsics for scalar tensor scalar operation.
const Op & nki_tensorscalar_reduce()
nki intrinsics for tensorscalar reduce operation.
const Op & nki_activation()
nki intrinsics for activation operation.
const Op & nki_reciprocal()
nki intrinsics for reciprocal operation.
const Op & nki_tensorscalar()
nki intrinsics for tensorscalar operation.
const Op & nki_tensortensor()
nki intrinsics for tensortensor operation.
const Op & nki_activation_reduce()
nki intrinsics for activation reduce operation.
const Op & nki_load()
nki intrinsics for load operation.
const Op & nki_memset()
nki intrinsics for memset operation.
const Op & nki_matmul()
nki intrinsics for matmul operation.
const Op & nki_tensorreduce()
nki intrinsics for tensorreduce operation.
const Op & nki_identity()
nki intrinsics for initializing identity tensor.
const Op & nki_store()
nki intrinsics for store operation.
const Op & nki_tensor_copy()
nki intrinsics for tensor_copy operation.
const Op & nki_affine_select()
nki intrinsics for affine_select operation.
const Op & nki_scalar_tensor_tensor()
nki intrinsics for scalar tensor tensor operation.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition: analyzer.h:37
TIR expressions.
Common operators defined for Expr.