diff options
-rw-r--r-- | tests/validation/NEON/ReductionOperation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/validation/NEON/ReductionOperation.cpp b/tests/validation/NEON/ReductionOperation.cpp index cd96a6abcc..f155e97d0d 100644 --- a/tests/validation/NEON/ReductionOperation.cpp +++ b/tests/validation/NEON/ReductionOperation.cpp @@ -45,8 +45,10 @@ namespace /** Tolerance for float operations */ AbsoluteTolerance<float> tolerance_f32(0.0001f); RelativeTolerance<float> rel_tolerance_f32(0.0001f); +#ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC AbsoluteTolerance<float> tolerance_f16(0.1f); RelativeTolerance<float> rel_tolerance_f16(0.1f); +#endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC /** Tolerance for quantized operations */ RelativeTolerance<float> tolerance_quantized(1.f); |