aboutsummaryrefslogtreecommitdiff
path: root/src/TosaSerialize.cpp
diff options
context:
space:
mode:
authorJerry Ge <jerry.ge@arm.com>2024-02-20 11:11:17 -0800
committerJerry Ge <jerry.ge@arm.com>2024-02-22 15:49:50 -0800
commit3bdc1904e7fef906f030ca61f81b1371ba528c0d (patch)
tree962487ad6db41ad30d82a452a1cd234f11c6f184 /src/TosaSerialize.cpp
parentf5645effe818c2b0cb0124597bc761850616ba76 (diff)
downloadtosa_mlir_translator-3bdc1904e7fef906f030ca61f81b1371ba528c0d.tar.gz
Add Tosa Sin/Cos operators
- Add Tosa Sin/Cos operators to the tosa_mlir_translator - Update thirdparty/serialization_lib hash Signed-off-by: Jerry Ge <jerry.ge@arm.com> Change-Id: Iea24913d3b295f5ca9fc50488b963e0ab54b11bd
Diffstat (limited to 'src/TosaSerialize.cpp')
-rw-r--r--src/TosaSerialize.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/TosaSerialize.cpp b/src/TosaSerialize.cpp
index 0f5056d..3569893 100644
--- a/src/TosaSerialize.cpp
+++ b/src/TosaSerialize.cpp
@@ -591,12 +591,14 @@ BUILD_OP_ELEMENTWISE_UNARY(Abs, ABS)
BUILD_OP_ELEMENTWISE_UNARY(BitwiseNot, BITWISE_NOT)
BUILD_OP_ELEMENTWISE_UNARY(Ceil, CEIL)
BUILD_OP_ELEMENTWISE_UNARY(Clz, CLZ)
+BUILD_OP_ELEMENTWISE_UNARY(Cos, COS)
BUILD_OP_ELEMENTWISE_UNARY(Exp, EXP)
BUILD_OP_ELEMENTWISE_UNARY(Floor, FLOOR)
BUILD_OP_ELEMENTWISE_UNARY(Log, LOG)
BUILD_OP_ELEMENTWISE_UNARY(LogicalNot, LOGICAL_NOT)
BUILD_OP_ELEMENTWISE_UNARY(Reciprocal, RECIPROCAL)
BUILD_OP_ELEMENTWISE_UNARY(Rsqrt, RSQRT)
+BUILD_OP_ELEMENTWISE_UNARY(Sin, SIN)
BUILD_OP_REDUCTION(ReduceAny, REDUCE_ANY)
BUILD_OP_REDUCTION(ReduceAll, REDUCE_ALL)