From 50de4fa4e7e0dd02a442ba350a1b40f293cb5a01 Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Mon, 31 May 2021 18:47:33 +0100 Subject: IVGCVSW-6088 Add Sin and Log to ElementWiseUnary * Ref workload * Cl workload * Neon workload * Serializer * Deserializer * Remove boost include from TensorTest.cpp Signed-off-by: Teresa Charlin Change-Id: I498548169cc77609c55cf3105f1de5a7429772cf --- src/backends/cl/ClWorkloadFactory.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/backends/cl/ClWorkloadFactory.cpp') diff --git a/src/backends/cl/ClWorkloadFactory.cpp b/src/backends/cl/ClWorkloadFactory.cpp index 0d8d0a7c28..6ca8c1b274 100644 --- a/src/backends/cl/ClWorkloadFactory.cpp +++ b/src/backends/cl/ClWorkloadFactory.cpp @@ -349,6 +349,10 @@ std::unique_ptr ClWorkloadFactory::CreateElementwiseUnary(const Eleme } case UnaryOperation::Exp: return std::make_unique(descriptor, info, m_CLCompileContext); + case UnaryOperation::Log: + return std::make_unique(descriptor, info, m_CLCompileContext); + case UnaryOperation::LogicalNot: + return std::make_unique(descriptor, info, m_CLCompileContext); case UnaryOperation::Neg: return std::make_unique(descriptor, info, m_CLCompileContext); case UnaryOperation::Rsqrt: @@ -359,8 +363,8 @@ std::unique_ptr ClWorkloadFactory::CreateElementwiseUnary(const Eleme return std::make_unique(rsqrtQueueDescriptor, info, m_CLCompileContext); } - case UnaryOperation::LogicalNot: - return std::make_unique(descriptor, info, m_CLCompileContext); + case UnaryOperation::Sin: + return std::make_unique(descriptor, info, m_CLCompileContext); default: return nullptr; } -- cgit v1.2.1