[Openmp-commits] [PATCH] D111369: [OpenMP][FIX] Data race in the SPMD execution of the new runtime
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 7 18:01:46 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG44710940af5b: [OpenMP][FIX] Data race in the SPMD execution of the new runtime (authored by jdoerfert, committed by jhuber6).
Changed prior to commit:
https://reviews.llvm.org/D111369?vs=378048&id=378055#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111369/new/
https://reviews.llvm.org/D111369
Files:
openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
Index: openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
===================================================================
--- openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
+++ openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
@@ -103,8 +103,8 @@
if (TId < NumThreads)
invokeMicrotask(TId, 0, fn, args, nargs);
+ synchronize::threads();
}
- synchronize::threads();
return;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111369.378055.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211008/e4d50fc6/attachment.bin>
More information about the Openmp-commits
mailing list