llvm-project/openmp
Jonas Hahnfeld 0924094e34 [OMPT] Fix inaccuracies in worksharing tests
These tests were failing rarely on my MacBook when there was some
activity in the background. Read: one of a thousand executions?

 * sections.c missed the sorting based on thread ids. This worked
   as long as the master thread finished its section before the
   worker thread started the second one but failed if the master
   thread was put to sleep by the OS.
 * The checks in single.c assumed that the master thread executes
   the single region which works most of the time because it is
   usually faster than the newly spawned worker thread.

Differential Revision: https://reviews.llvm.org/D39853

llvm-svn: 318527
2017-11-17 15:26:44 +00:00
..
libomptarget [libomptarget] Build all libraries in libomptarget/ 2017-11-11 13:59:45 +00:00
offload Liboffload: Patch for MPSS > 3.4.x (provided by Tim Cramer) 2015-05-06 10:58:40 +00:00
runtime [OMPT] Fix inaccuracies in worksharing tests 2017-11-17 15:26:44 +00:00
www Support of mips & mips64 for openmprtl 2016-12-08 09:22:24 +00:00
.arcconfig Add a .arcconfig file for openmp. 2017-07-08 16:09:47 +00:00
.gitignore Create a git ignore file for openmp runtime. 2017-03-11 13:05:08 +00:00
CMakeLists.txt [CMake] Disable building libomptarget and add CMake switch 2017-07-26 13:55:00 +00:00
CREDITS.txt Cleanup version symbol macros and attributes/declspecs 2017-11-07 23:32:13 +00:00
LICENSE.txt Update copyright year in LICENSE.txt 2016-05-17 20:11:26 +00:00