ye-luo added a comment.

> However, OpenMP task has a problem that it must be within
> to a parallel region; otherwise the task will be executed immediately. As a
> result, if we directly wrap to a regular task, the nowait target outside of a
> parallel region is still a synchronous version.

The spec says an implicit task can be generated by an implicit parallel region 
which can be the whole OpenMP program. For this reason, the need of explicit 
parallel region is a limitation of the llvm OpenMP runtime, right?

Can I have an option to run the nowait region as a regular task instead of an 
unshackled task? So I can use "parallel" and well established ways to control 
the thread affinity.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78075

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to