Encapsulate GOMP task dependencies in separate class and introduce the
new mutexinoutset dependency type. This separate class allows
future GOMP task APIs easier access to the task dependency functionality
and better ability to propagate new dependency types to all existing GOMP
task APIs which use task dependencies.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/runtime/test/tasking/omp50_task_depend_mtx3.c | ||
---|---|---|
24–30 | We have similar functionality available in llvm-project/openmp/runtime/test/omp_my_sleep.h |
Comment Actions
With this patch, I would expect runtime/test/ompt/tasks/dependences_mutexinoutset.c to succeed. Running the test with gcc-9/10, this test reports the dependency as ompt_dependence_type_inout and not ompt_dependence_type_mutexinoutset. Since the OMPT interface just translates the internal values, I assume something is wrong with the flags of the dependency.
I created D87680 with the updated expected OMPT test results.
Comment Actions
Fixed the GOMP dependency type assignment. Checked with the follow-up OMPT changes in D87680.
We have similar functionality available in llvm-project/openmp/runtime/test/omp_my_sleep.h