diff options
author | Joachim Protze <protze@itc.rwth-aachen.de> | 2018-12-18 08:57:23 +0000 |
---|---|---|
committer | Joachim Protze <protze@itc.rwth-aachen.de> | 2018-12-18 08:57:23 +0000 |
commit | cf80e72e30147e689f9496c182fdf17c565d05ed (patch) | |
tree | 0fc9694fd584843c8a990814b00e5968ac025a7f /openmp | |
parent | 26c630f416fdb3b810529015e842a6b61de2c17b (diff) |
[Tests] fix non-determinism failure in testcase
llvm-svn: 349460
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/runtime/test/ompt/parallel/nested_threadnum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/runtime/test/ompt/parallel/nested_threadnum.c b/openmp/runtime/test/ompt/parallel/nested_threadnum.c index 32d3edbb55f4..a24853007d32 100644 --- a/openmp/runtime/test/ompt/parallel/nested_threadnum.c +++ b/openmp/runtime/test/ompt/parallel/nested_threadnum.c @@ -7,6 +7,7 @@ int main() { omp_set_nested(1); #pragma omp parallel num_threads(2) { +#pragma omp barrier #pragma omp parallel num_threads(2) { print_frame(0); } } |