[OpenMP][FIX] Explicit barriers in SPMD mode are not aligned
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 26 Jan 2022 21:53:39 +0000 (15:53 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Tue, 1 Feb 2022 07:10:52 +0000 (01:10 -0600)
commit7b9844cc8dd0045f5251450ba2980d6d6ac48ef9
treef46a9dc3afde946165086240b225503592e34435
parent3f0e670498cb923a7f8e8f779db660770e05ebc0
[OpenMP][FIX] Explicit barriers in SPMD mode are not aligned

Due to num_threads (probably also other reasons) we cannot assume
explicit barriers are always executed by all threads in an aligned
fashion. We can optimize them if that property can be proven but
that is different.
openmp/libomptarget/DeviceRTL/src/Synchronization.cpp