diff options
Diffstat (limited to 'arm_compute/core/NEON/wrapper/intrinsics/round.h')
-rw-r--r-- | arm_compute/core/NEON/wrapper/intrinsics/round.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arm_compute/core/NEON/wrapper/intrinsics/round.h b/arm_compute/core/NEON/wrapper/intrinsics/round.h index f3e0fe1ed8..d6f5a88689 100644 --- a/arm_compute/core/NEON/wrapper/intrinsics/round.h +++ b/arm_compute/core/NEON/wrapper/intrinsics/round.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 ARM Limited. + * Copyright (c) 2019-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -37,10 +37,18 @@ namespace wrapper return vroundq_rte_##postfix(a); \ } +#define VROUNDQ_IMPL_INT(vtype, postfix) \ + inline vtype vround(const vtype &a) \ + { \ + ARM_COMPUTE_UNUSED(a); \ + ARM_COMPUTE_ERROR("Not supported"); \ + } + VROUNDQ_IMPL(float32x4_t, f32) #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC VROUNDQ_IMPL(float16x8_t, f16) #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC +VROUNDQ_IMPL_INT(int32x4_t, s32) #undef VROUNDQ_IMPL } // namespace wrapper |