Skip to content

Commit 7cf63ee

Browse files
[OpenMP][Docs] Add non-blocking target nowait environment variables
1 parent 5e32124 commit 7cf63ee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

openmp/docs/ReleaseNotes.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,14 @@ Non-comprehensive list of changes in this release
5757

5858
* Fixed a number of bugs and regressions.
5959

60+
* Improved host thread utilization on target nowait regions. Target tasks are
61+
now continuously re-enqueued by the OpenMP runtime until their device-side
62+
operations are completed, unblocking the host thread to execute other tasks.
63+
64+
* Target tasks re-enqueue can be controlled on a per-thread basis based on
65+
exponential backoff counting. ``OMPTARGET_QUERY_COUNT_THRESHOLD`` defines how
66+
many target tasks must be re-enqueued before the thread starts blocking on the
67+
device operations (defaults to 10). ``OMPTARGET_QUERY_COUNT_MAX`` defines the
68+
maximum value for the per-thread re-enqueue counter (defaults to 5).
69+
``OMPTARGET_QUERY_COUNT_BACKOFF_FACTOR`` defines the decrement factor applied
70+
to the counter when a target task is completed (defaults to 0.5).

0 commit comments

Comments
 (0)