aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-09-27 11:20:48 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit30f0215ba247c05a81e91ed420f14b686a3528f3 (patch)
tree152ad7662b793ccc04a8804009dd5b5887e7de7d /src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp
parent74180bb942f681c535e2e1c483d4c8a8edfdb4a7 (diff)
downloadComputeLibrary-30f0215ba247c05a81e91ed420f14b686a3528f3.tar.gz
COMPMID-417: Fix clang-tidy failures for 32-bit runs
Change-Id: I2fbb6dda1c281627a4d64dce3b4c4d2ebaa8d022 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89289 Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp b/src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp
index 40dcc710de..19d45e2cb5 100644
--- a/src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp
+++ b/src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp
@@ -335,9 +335,6 @@ void mul_F32_F32_F32_n(const void *__restrict input1_ptr, const void *__restrict
template <bool is_scale255, bool is_sat>
void mul_F16_F16_F16_n(const void *__restrict input1_ptr, const void *__restrict input2_ptr, void *__restrict output_ptr, float scale)
{
- ARM_COMPUTE_UNUSED(input1_ptr);
- ARM_COMPUTE_UNUSED(input2_ptr);
- ARM_COMPUTE_UNUSED(output_ptr);
#ifdef ARM_COMPUTE_ENABLE_FP16
const auto input1 = static_cast<const float16_t *__restrict>(input1_ptr);
const auto input2 = static_cast<const float16_t *__restrict>(input2_ptr);
@@ -354,6 +351,10 @@ void mul_F16_F16_F16_n(const void *__restrict input1_ptr, const void *__restrict
};
vst2q_f16(output, result);
#else /* ARM_COMPUTE_ENABLE_FP16 */
+ ARM_COMPUTE_UNUSED(input1_ptr);
+ ARM_COMPUTE_UNUSED(input2_ptr);
+ ARM_COMPUTE_UNUSED(output_ptr);
+ ARM_COMPUTE_UNUSED(scale);
ARM_COMPUTE_ERROR("Not supported. Recompile the library with arch=arm64-v8.2-a.");
#endif /* ARM_COMPUTE_ENABLE_FP16 */
}