Once kmp_task_finish is not executed for proxy tasks,
move mutexinoutset dependency code to kmp_release_deps
which is executed for all task kinds.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM.
openmp/runtime/src/kmp_taskdeps.h | ||
---|---|---|
93 | Why is it "unlikely"? Because mutexinoutset is a rare case? |
openmp/runtime/src/kmp_taskdeps.h | ||
---|---|---|
93 |
Right. We still haven't seen real code that uses mutexinoutset dependence. Even if such code exist there are much more codes those do not use mutexinoutset. So the performance of this code block looks lesser priority comparing to quicker skip the code when it is not needed. |
openmp/runtime/src/kmp_taskdeps.h | ||
---|---|---|
93 | Gotcha. Thanks for the information. |
Why is it "unlikely"? Because mutexinoutset is a rare case?