[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
Wed Mar 18 02:09:04 PDT 2020


AndreyChurbanov added a comment.

In D62485#1927773 <https://reviews.llvm.org/D62485#1927773>, @ABataev wrote:

> Shall the compiler generate the call of `omp_fulfill_event` after `__kmpc_omp_task` call? Or is it a user code?


User code supposed to call the omp_fulfill_event to signal completion of the corresponding detached task.

Three tests provided to cover three cases: user called omp_fulfill_event (1) after task body completed execution, (2) possibly during execution of the task, and (3) before the task was scheduled for execution.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62485/new/

https://reviews.llvm.org/D62485





More information about the Openmp-commits mailing list