From 2c2523f0d5bed4806d1c33f45dd19bedd4a129ef Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 12 May 2025 17:56:49 +0200 Subject: [PATCH] teflon/tests: Increase tolerance On Rockchip, we need a tolerance of 8 to pass all tests (especifically the whole MobileNetV1 model). Though all other tests pass with a tolerance of just 2, 8 is still not that high that we would risk letting bugs slip in. Reviewed-by: Dave Airlie Part-of: --- src/gallium/targets/teflon/test_teflon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/targets/teflon/test_teflon.cpp b/src/gallium/targets/teflon/test_teflon.cpp index 4dd4f6fa602..f925d6e8fca 100644 --- a/src/gallium/targets/teflon/test_teflon.cpp +++ b/src/gallium/targets/teflon/test_teflon.cpp @@ -24,7 +24,7 @@ #define TEST_FULLY_CONNECTED 1 #define TEST_MODELS 1 -#define TOLERANCE 2 +#define TOLERANCE 8 std::vector is_signed{false}; /* TODO: Support INT8? */ std::vector padding_same{false, true};