[Openmp-commits] [openmp] [OpenMP] Use a memory fence before incrementing the dispatch buffer index (PR #87995)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Apr 9 21:32:10 PDT 2024
jprotze wrote:
It is not clear toe what effect the memory barrier is supposed to have at this specific place with the oder two barriers a few lines above and below.
>From my perspective the code shouldn't use volatile at all, but atomics where necessary.
https://github.com/llvm/llvm-project/pull/87995
More information about the Openmp-commits
mailing list