[Openmp-commits] [PATCH] D53380: Implementation of OpenMP 5.0 mutexinoutset task dependency type.
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Oct 17 10:54:55 PDT 2018
AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: tlwilmar, hbae, jlpeyton, AlexEichenberger.
Herald added subscribers: openmp-commits, jfb, guansong.
Added new type of task dependency. Library expects from compiler to use value 4 as a mutexinoutset dependency type (1 is for in, 3 is for out and inout, so it is logically to have next bit for the new type). For each depend object library creates mutex (up to 4 in total, this is heuristic limit that can be changed in future if needed). Setting of mutexes added to Task Scheduling Constraint conditions. Task with mutexinoutset dependencies can be scheduled only if all mutexes it needs are successfully set.
Any comments are welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 42177 bytes
Desc: not available
More information about the Openmp-commits