[Openmp-commits] [PATCH] D77609: [OpenMP] Added the support for unshackled task in RTL
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jun 5 07:11:27 PDT 2020
tianshilei1992 added a comment.
> What is the concrete scenario, in which you need this monitor thread to schedule device activity?
> Did you consider to use detached tasks to implement asynchronous target offloading?
Yes. In fact, it is natural to think about using detachable tasks. However, if the host side just creates a detachable task and move forward doing some heavy workload, such as encountering a work-sharing construct, no thread can pick up the task and execute it, which hurts the concurrency between host and device.
CHANGES SINCE LAST ACTION
More information about the Openmp-commits