mirror-llvm-project/openmp
Alex Duran 3e72f02e20
[Offload][OpenMP][libdevice] Make check to enter state machine architecture dependent (#188144)
The genericStateMachine call uses synchronize::thread wich is expected
to be implemented using a workgroup level barrier.
Currently as in some other architectures where if threads in the same
warp as the main thread reach the barrier may cause a race condition
there's a condition that makes some threads not enter the state machine.
But in Intel GPUs all threads must reach the barrier for it to be
completed, otherwise the threads in the state machine never make
progress.

This PR moves the condition into an architecture-dependent config so it
can work correctly for both kinds of hardware.
2026-03-25 16:22:22 +01:00
..
cmake [openmp][cmake][NFCI] Avoid non-eval uses of ${var} (#182267) 2026-03-02 13:21:36 +01:00
device [Offload][OpenMP][libdevice] Make check to enter state machine architecture dependent (#188144) 2026-03-25 16:22:22 +01:00
docs [offload] Remove LIBOMPTARGET_SHARED_MEMORY_SIZE envar (#186231) 2026-03-12 21:21:29 -07:00
libompd [openmp][cmake][NFCI] Avoid non-eval uses of ${var} (#182267) 2026-03-02 13:21:36 +01:00
module Revert "[Flang] Move builtin .mod generation into runtimes (Reapply #137828) (#169638)" 2025-12-09 22:39:41 +01:00
runtime [OpenMP][OMPT] Add missing error entry to device tracing record union (#185683) 2026-03-17 10:00:21 +01:00
tools [OpenMP][OMPT] Remove Threads dependency from omptest link interface (#186183) 2026-03-12 18:16:36 +01:00
.gitignore
CMakeLists.txt [OpenMP] Include the cmake policy file (#186031) 2026-03-12 11:54:11 -04:00
CREDITS.txt
LICENSE.TXT
Maintainers.md Nominate Michael Klemm as lead maintainer of OpenMP (#175964) 2026-01-14 15:17:26 +00:00