[Openmp-commits] [PATCH] D41942: [OMPT] Add interoperability testcase
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Feb 23 11:48:08 PST 2018
Hahnfeld added a comment.
This test doesn't work if threads are not scheduled as expected: http://lab.llvm.org:8011/builders/openmp-gcc-x86_64-linux-debian/builds/58
I think in that case a worker thread started before the second master which makes sense as there is no synchronization between the two initial threads. We should be able to fix this by either starting a serialized region or calling an API function and putting an `OMPT_WAIT` before the real `parallel` region. Thoughts?
Btw: What do you need the `OMPT_WAIT(condition, 6)` for?
Repository:
rL LLVM
https://reviews.llvm.org/D41942
More information about the Openmp-commits
mailing list