hanchenye-llvm-project/openmp/runtime/test
Jonas Hahnfeld b0f051ae63 [OMPT] Fix interoperability test with GCC
We have to ensure that the runtime is initialized _before_ waiting
for the two started threads to guarantee that the master threads
post their ompt_event_thread_begin before the worker threads. This
is not guaranteed in the parallel region where one worker thread
could start before the other master thread has invoked the callback.

The problem did not happen with Clang becauses the generated code
calls __kmpc_global_thread_num() and cashes its result for functions
that contain OpenMP pragmas.

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

llvm-svn: 326435
2018-03-01 14:03:18 +00:00
..
api
atomic
barrier
critical
env Fix implementation of OMP_THREAD_LIMIT 2017-07-27 20:58:41 +00:00
flush
lock Revert "Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6)" 2017-11-03 18:28:19 +00:00
master
misc_bugs Fix alignment in teams-reduction.c test 2017-12-05 18:45:21 +00:00
ompt [OMPT] Fix interoperability test with GCC 2018-03-01 14:03:18 +00:00
parallel Make test/parallel/omp_nested.c not use so many threads 2017-06-27 03:04:25 +00:00
tasking [CMake] Detect information about test compiler 2017-11-30 17:08:31 +00:00
threadprivate
worksharing Add missing memory barrier for queuing locks 2017-12-08 15:07:02 +00:00
CMakeLists.txt [CMake] Refactor testing infrastructure 2017-11-29 19:31:52 +00:00
lit.cfg [CMake] Detect information about test compiler 2017-11-30 17:08:31 +00:00
lit.site.cfg.in [CMake] Detect information about test compiler 2017-11-30 17:08:31 +00:00
omp_my_sleep.h
omp_testsuite.h