[Openmp-commits] [PATCH] D121058: [OpenMP][FIX] Avoid races in the handling of to be deleted mapping entries

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 29 06:47:54 PDT 2022


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/test/mapping/map_back_race.cpp:32
+}
+int main() { test_parallel_for__target(); }
----------------
jdoerfert wrote:
> ronlieb wrote:
> > seeing sporadic failures on this test, in the amdgpu openmp buildbot. return code -11
> > i think we need a return 0; here
> main should return 0 by default, IIRC. return code -11 sounds more like we still have a bug -.-
@ronlieb It seems we only fail for host (x86) offloading. One needs to check but I'd expect the error code -11 to be 139 (128 + 11 = 139), which would be a common segfault. given it's on the host we can probably use gdb to pinpoint it. Feel free to disable it for the host for now, that should make the bot green at least.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121058/new/

https://reviews.llvm.org/D121058



More information about the Openmp-commits mailing list