llvm-project/openmp/runtime/test
Joachim Protze 0c9516b36c [OMPT] Add Workaround for Intel Compiler Bug
Add Workaround for Intel Compiler Bug with Case#: 03138964

A critical region within a nested task causes a segfault in icc 14-18:

int main()
{
  #pragma omp parallel num_threads(2)
  #pragma omp master
    #pragma omp task
      #pragma omp task
        #pragma omp critical
          printf("test\n");
}
When the critical region is in a separate function, the segault does not occur.
So we add noinline to make sure that the function call stays there.

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

llvm-svn: 322622
2018-01-17 10:06:06 +00:00
..
api Fix memory error in case of reinit using kmp_set_defaults() for lock code. 2017-01-18 07:02:21 +00:00
atomic Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
barrier omp_barrier.c test fixed in order to reliably and faster run on any number of processors 2016-01-25 16:52:10 +00:00
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 Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
misc_bugs Fix alignment in teams-reduction.c test 2017-12-05 18:45:21 +00:00
ompt [OMPT] Add Workaround for Intel Compiler Bug 2018-01-17 10:06:06 +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 Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
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 Allow unit testing on Windows 2016-05-23 17:50:32 +00:00