From e49e26613264842f91d29a32be3a226a0d6adb42 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Fri, 21 Jul 2017 15:55:28 +0100 Subject: COMPMID-415: Use half_float library for F16 3RDPARTY_UPDATE Change-Id: Iee572e18d5b1df71300d738cc8690f49d7203d5c Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81353 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/validation_new/Validation.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/validation_new/Validation.h') diff --git a/tests/validation_new/Validation.h b/tests/validation_new/Validation.h index 5e947caf8d..7db7b00886 100644 --- a/tests/validation_new/Validation.h +++ b/tests/validation_new/Validation.h @@ -85,8 +85,8 @@ void validate(const arm_compute::PaddingSize &padding, const arm_compute::Paddin * reference tensor and test tensor is multiple of wrap_range), but such errors would be detected by * other test cases. */ -template -void validate(const IAccessor &tensor, const SimpleTensor &reference, U tolerance_value = 0, float tolerance_number = 0.f); +template +void validate(const IAccessor &tensor, const SimpleTensor &reference, U tolerance_value = U(0), float tolerance_number = 0.f); /** Validate tensors with valid region. * @@ -98,8 +98,8 @@ void validate(const IAccessor &tensor, const SimpleTensor &reference, U toler * reference tensor and test tensor is multiple of wrap_range), but such errors would be detected by * other test cases. */ -template -void validate(const IAccessor &tensor, const SimpleTensor &reference, const ValidRegion &valid_region, U tolerance_value = 0, float tolerance_number = 0.f); +template +void validate(const IAccessor &tensor, const SimpleTensor &reference, const ValidRegion &valid_region, U tolerance_value = U(0), float tolerance_number = 0.f); /** Validate tensors against constant value. * -- cgit v1.2.1