aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEScaleKernel.h
diff options
context:
space:
mode:
authorSheri Zhang <sheri.zhang@arm.com>2021-01-05 12:48:45 +0000
committerSheri Zhang <sheri.zhang@arm.com>2021-01-12 10:28:18 +0000
commit23adc4cf40936ffe6c0e126ac83c8085b946bde4 (patch)
treee598561df8e997d617336acd1f35322dc68146c5 /src/core/NEON/kernels/NEScaleKernel.h
parentb14a0f0c1c72a2365c42f7bd1ff698f8fb94c070 (diff)
downloadComputeLibrary-23adc4cf40936ffe6c0e126ac83c8085b946bde4.tar.gz
Add SVE support and decouple data type for NEScaleKernel
- Decouple data type for NEON NHWC implementation, supported data types are: fp32, fp16, u8, s16, qasymm8, qasymm8_signed. - Add SVE support for NHWC and all six data types showed above. Resolves: COMPMID-3873 Change-Id: I097de119f4667b28b025a78cadf7185afa5f15f0 Signed-off-by: Sheri Zhang <sheri.zhang@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4766 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEScaleKernel.h')
-rw-r--r--src/core/NEON/kernels/NEScaleKernel.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/NEON/kernels/NEScaleKernel.h b/src/core/NEON/kernels/NEScaleKernel.h
index a3786db5b7..b93a213e99 100644
--- a/src/core/NEON/kernels/NEScaleKernel.h
+++ b/src/core/NEON/kernels/NEScaleKernel.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -96,17 +96,11 @@ private:
void scale_bilinear_nchw(const Window &window);
/** function to perform scale using bilinear interpolation on the given window */
template <typename T>
- void scale_bilinear_nhwc(const Window &window);
- /** function to perform scale using bilinear interpolation on the given window */
- template <typename T>
void scale_bilinear_qasymm(const Window &window);
/** function to perform scale using nearest neighbour on the given window */
template <typename T>
void scale_nearest_nchw(const Window &window);
- /** function to perform scale using nearest neighbour on the given window */
- template <typename T>
- void scale_nearest_nhwc(const Window &window);
/** Scale function to use for the particular function to use */
using ScaleFunctionPtr = void (NEScaleKernel::*)(const Window &window);