[Openmp-commits] [PATCH] D47824: [OMPT] Add testcases for thread_begin and thread_end callbacks

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 3 12:54:18 PDT 2018


protze.joachim added inline comments.


================
Comment at: openmp/trunk/runtime/test/ompt/misc/threads_nested.c:14
+#pragma omp atomic
+      x++;
+    }
----------------
@sconvent 
This test fails sporadically, if a thread of one nested team is reused for the other nested team.
Please submit a follow-up patch which implements synchronization similar to the nested parallel test.


Repository:
  rL LLVM

https://reviews.llvm.org/D47824





More information about the Openmp-commits mailing list