aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-10-21 00:04:14 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2020-11-03 15:10:47 +0000
commitebcebf1dee7f8314976b1e0cabd62b4cf893d765 (patch)
tree95d3e691a0e88a3e213a1d30446a9224497f2055 /arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h
parentda4b1b2055d96aaf73704eb9b0b82d74dc2d699c (diff)
downloadComputeLibrary-ebcebf1dee7f8314976b1e0cabd62b4cf893d765.tar.gz
COMPMID-3638: Move NEON kernels
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Change-Id: Ieed3e4bc8be7fef80c90c5094599b477a56fc473 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4285 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h b/arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h
index 7b35e6db9e..df7dc2d980 100644
--- a/arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h
+++ b/arm_compute/runtime/NEON/functions/NEAbsoluteDifference.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2019 Arm Limited.
+ * Copyright (c) 2016-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -24,7 +24,7 @@
#ifndef ARM_COMPUTE_NEABSOLUTEDIFFERENCE_H
#define ARM_COMPUTE_NEABSOLUTEDIFFERENCE_H
-#include "arm_compute/runtime/NEON/INESimpleFunction.h"
+#include "arm_compute/runtime/NEON/INESimpleFunctionNoBorder.h"
namespace arm_compute
{
@@ -35,9 +35,21 @@ class ITensor;
* @note The image data type for the inputs must be U8 or S16
* @note The function calculates the absolute difference also when the 2 inputs have different image data types
*/
-class NEAbsoluteDifference : public INESimpleFunction
+class NEAbsoluteDifference : public INESimpleFunctionNoBorder
{
public:
+ /** Default constructor */
+ NEAbsoluteDifference() = default;
+ /** Prevent instances of this class from being copied (As this class contains pointers) */
+ NEAbsoluteDifference(const NEAbsoluteDifference &) = delete;
+ /** Prevent instances of this class from being copied (As this class contains pointers) */
+ NEAbsoluteDifference &operator=(const NEAbsoluteDifference &) = delete;
+ /** Prevent instances of this class from being moved (As this class contains non movable objects) */
+ NEAbsoluteDifference(NEAbsoluteDifference &&) = delete;
+ /** Prevent instances of this class from being moved (As this class contains non movable objects) */
+ NEAbsoluteDifference &operator=(NEAbsoluteDifference &&) = delete;
+ /** Default destructor */
+ ~NEAbsoluteDifference();
/** Set the inputs and output images
*
* @param[in] input1 Source tensor. Data types supported: U8/S16.