aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEElementwiseOperators.cpp
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@arm.com>2019-05-13 13:33:14 +0100
committerUsama Arif <usama.arif@arm.com>2019-05-15 10:25:17 +0000
commit81e671ef4f2a8fb3128fba402610b9de28b57891 (patch)
tree37ae4534cc3e34d8aba615c869a318d8f8038d33 /src/runtime/NEON/functions/NEElementwiseOperators.cpp
parentc255aa7df3e61a73cc4af86d21d3b1848653b7a9 (diff)
downloadComputeLibrary-81e671ef4f2a8fb3128fba402610b9de28b57891.tar.gz
COMPMID-2269: Implement POW operator for NEON
Change-Id: I7135f665d89da3c24c9bbe00e991a64713a41d0e Signed-off-by: Usama Arif <usama.arif@arm.com> Reviewed-on: https://review.mlplatform.org/c/1128 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions/NEElementwiseOperators.cpp')
-rw-r--r--src/runtime/NEON/functions/NEElementwiseOperators.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/runtime/NEON/functions/NEElementwiseOperators.cpp b/src/runtime/NEON/functions/NEElementwiseOperators.cpp
index 74c195764b..699363111d 100644
--- a/src/runtime/NEON/functions/NEElementwiseOperators.cpp
+++ b/src/runtime/NEON/functions/NEElementwiseOperators.cpp
@@ -79,6 +79,18 @@ Status NEElementwiseDivision::validate(const ITensorInfo *input1, const ITensorI
return NEDivisionOperationKernel::validate(input1, input2, output);
}
+void NEElementwisePower::configure(ITensor *input1, ITensor *input2, ITensor *output)
+{
+ auto k = arm_compute::support::cpp14::make_unique<NEPowerOperationKernel>();
+ k->configure(input1, input2, output);
+ _kernel = std::move(k);
+}
+
+Status NEElementwisePower::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output)
+{
+ return NEPowerOperationKernel::validate(input1, input2, output);
+}
+
template <ComparisonOperation COP>
void NEElementwiseComparisonStatic<COP>::configure(ITensor *input1, ITensor *input2, ITensor *output)
{