[Openmp-commits] [openmp] 957b4c5 - [OpenMP][testing] increase threshold for omp_get_wtime test

via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 1 09:07:47 PDT 2021


Author: Peyton, Jonathan L
Date: 2021-10-01T11:07:41-05:00
New Revision: 957b4c57501bf94492dbee7141b2ecf5b4e43b70

URL: https://github.com/llvm/llvm-project/commit/957b4c57501bf94492dbee7141b2ecf5b4e43b70
DIFF: https://github.com/llvm/llvm-project/commit/957b4c57501bf94492dbee7141b2ecf5b4e43b70.diff

LOG: [OpenMP][testing] increase threshold for omp_get_wtime test

Added: 
    

Modified: 
    openmp/runtime/test/api/omp_get_wtime.c

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/api/omp_get_wtime.c b/openmp/runtime/test/api/omp_get_wtime.c
index a862e07fc5a2b..e3b87188918dc 100644
--- a/openmp/runtime/test/api/omp_get_wtime.c
+++ b/openmp/runtime/test/api/omp_get_wtime.c
@@ -9,7 +9,7 @@
 // This is the error % threshold. Be generous with the error threshold since
 // this test may be run in parallel with many other tests it may throw off the
 // sleep timing.
-#define THRESHOLD 33.0
+#define THRESHOLD 100.0
 
 double test_omp_get_wtime(double desired_wait_time) {
   double start;


        


More information about the Openmp-commits mailing list