Skip to content
Commit 08bbff4a authored by Sandeep Kosuri's avatar Sandeep Kosuri Committed by Sandeep Kosuri
Browse files

[OpenMP] Codegen support for thread_limit on target directive for host

offloading

- This patch adds support for thread_limit clause on target directive according to OpenMP 51 [2.14.5]
- The idea is to create an outer task for target region, when there is a thread_limit clause, and manipulate the thread_limit of task instead. This way, thread_limit will be applied to all the relevant constructs enclosed by the target region.

Differential Revision: https://reviews.llvm.org/D152054
parent f2b86665
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment