Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This set of commits seems to have broken the amdgpu buildbot, test(s) are hanging.
see
https://lab.llvm.org/buildbot/#/builders/193/builds/8002
and a force run to see if the previous hang was spurious, seems reproducible.
https://lab.llvm.org/buildbot/#/builders/193/builds/8003
it would be helpful to revert the change(s) seems like 4 commits came in ?
then we (Jon and I) could work the issues with you in the morning on Monday.
unless of course you have a fix ready to land.
thank you
Found one error in the existing code but can believe there are more. We could split this patch into two, one replacing the DIY LockGuard with std::lock_guard and clang-format the thing, then a second replacing manual locking with uses of lock guard. Would be the same behaviour as this patch but make it easier to find the change in behaviour by inspection.
openmp/libomptarget/src/omptarget.cpp | ||
---|---|---|
206 | Before this patch we left PendingGlobalsMtx locked here on the return. That's surely a bug, and I guess we don't hit it often because it's on a failure path. Fixed by this patch, which sadly seems to deadlock somewhere else. |
openmp/libomptarget/src/device.cpp | ||
---|---|---|
447 | This unlock is gone without translating the lock to raii lock guard. |
This unlock is gone without translating the lock to raii lock guard.