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

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 18 03:46:23 PDT 2020


ABataev added a comment.

In D62485#1928438 <https://reviews.llvm.org/D62485#1928438>, @AndreyChurbanov wrote:

> 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.


Thanks for the clarification! This is what I thought.


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