From 5a4584a77cdea8c7f93699771919c5ceca14c68a Mon Sep 17 00:00:00 2001 From: Luca Bertaccini Date: Wed, 22 Nov 2023 18:30:39 +0100 Subject: [PATCH] Change threshold to tolerate precision losses in large low-precision GEMMs --- sw/blas/gemm/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/blas/gemm/src/main.c b/sw/blas/gemm/src/main.c index 770e05ce3..4908ead95 100644 --- a/sw/blas/gemm/src/main.c +++ b/sw/blas/gemm/src/main.c @@ -98,7 +98,7 @@ int main() { break; case FP16: if (fabs(result[idx] - ((__fp16 *)local_c)[idx]) < - 0.001) + 0.065) errors--; break; case FP8: