[Openmp-commits] [openmp] [OpenMP] Fix work-stealing stack clobber with taskwait (PR #126049)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 6 09:16:29 PST 2025


jprotze wrote:

I don't see any demonstration of the issue. Is there any test code to reproduce an issue?

The  __kmpc_omp_taskwait_deps_51 will not return until all dependencies to the depnode on the stack are complete. At this time, the ref count of the depnode must be 1. 

If you run into issues at this part of the code, not the depnode on the stack is the issue, but somewhere else in the code is causing an error with the reference counting.

https://github.com/llvm/llvm-project/pull/126049


More information about the Openmp-commits mailing list