diff options
author | George Wort <george.wort@arm.com> | 2019-01-15 11:00:29 +0000 |
---|---|---|
committer | George Wort <george.wort@arm.com> | 2019-01-21 16:37:31 +0000 |
commit | a1e7e2818ab282e4d3b707feb5783b4bd4fbe45b (patch) | |
tree | 30c4395d0b18e90f5e1cbbf5ee1612c2ea679774 /src/runtime | |
parent | d88590f4022bfb6eda3bad4fa599727bab723667 (diff) | |
download | ComputeLibrary-a1e7e2818ab282e4d3b707feb5783b4bd4fbe45b.tar.gz |
COMPMID-1768: NEON: Implement RealDiv
Change-Id: I0868669f7b733df141794fba1d79436e7581bd3a
Reviewed-on: https://review.mlplatform.org/426
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/NEON/functions/NEElementwiseOperators.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/runtime/NEON/functions/NEElementwiseOperators.cpp b/src/runtime/NEON/functions/NEElementwiseOperators.cpp index 711e99ea77..4c570685bc 100644 --- a/src/runtime/NEON/functions/NEElementwiseOperators.cpp +++ b/src/runtime/NEON/functions/NEElementwiseOperators.cpp @@ -67,6 +67,18 @@ Status NEElementwiseSquaredDiff::validate(const ITensorInfo *input1, const ITens return NEArithmeticOperationKernel::validate(ArithmeticOperation::SQUARED_DIFF, input1, input2, output); } +void NEElementwiseDivision::configure(ITensor *input1, ITensor *input2, ITensor *output) +{ + auto k = arm_compute::support::cpp14::make_unique<NEDivisionOperationKernel>(); + k->configure(input1, input2, output); + _kernel = std::move(k); +} + +Status NEElementwiseDivision::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output) +{ + return NEDivisionOperationKernel::validate(input1, input2, output); +} + template <ComparisonOperation COP> void NEElementwiseComparisonStatic<COP>::configure(ITensor *input1, ITensor *input2, ITensor *output) { |