[Openmp-commits] [PATCH] D62485: New implementation of OpenMP 5.0 detached tasks.

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 27 06:37:10 PDT 2019


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: tlwilmar, hbae, jlpeyton.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: openmp-commits, jdoerfert, jfb, guansong.

Patch by Alex Duran.

It adds new task flag - detachable (bit 6, or 0x40) which can be set by compiler for a detached task;
new external entry omp_fulfill_event(), and new internal entry __kmpc_task_allow_completion_event().

Tests with samples of expected compiler codegen also provided, they use various timings of event notification versus task completion (before/after task completion, or before task start).


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D62485

Files:
  runtime/src/dllexports
  runtime/src/include/50/omp.h.var
  runtime/src/include/50/omp_lib.f.var
  runtime/src/include/50/omp_lib.f90.var
  runtime/src/include/50/omp_lib.h.var
  runtime/src/kmp.h
  runtime/src/kmp_ftn_entry.h
  runtime/src/kmp_ftn_os.h
  runtime/src/kmp_tasking.cpp
  runtime/test/tasking/kmp_detach_tasks_t1.c
  runtime/test/tasking/kmp_detach_tasks_t2.c
  runtime/test/tasking/kmp_detach_tasks_t3.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62485.201520.patch
Type: text/x-patch
Size: 30624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190527/c73387c0/attachment-0001.bin>


More information about the Openmp-commits mailing list