[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.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D53380
Files:
runtime/src/kmp.h
runtime/src/kmp_taskdeps.cpp
runtime/src/kmp_taskdeps.h
runtime/src/kmp_tasking.cpp
runtime/test/tasking/omp50_task_depend_mtx.c
runtime/test/tasking/omp50_task_depend_mtx2.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53380.170022.patch
Type: text/x-patch
Size: 42177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181017/49071ae5/attachment-0001.bin>
More information about the Openmp-commits
mailing list