From: Guilherme Valarini Date: Tue, 24 Jan 2023 19:30:34 +0000 (-0300) Subject: [OpenMP][Docs] Add non-blocking target nowait environment variables X-Git-Tag: upstream/17.0.6~19775 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cf63ee80c7588fba543136ab67d38172aedf5ed;p=platform%2Fupstream%2Fllvm.git [OpenMP][Docs] Add non-blocking target nowait environment variables --- diff --git a/openmp/docs/ReleaseNotes.rst b/openmp/docs/ReleaseNotes.rst index 371457a..dd59426 100644 --- a/openmp/docs/ReleaseNotes.rst +++ b/openmp/docs/ReleaseNotes.rst @@ -57,3 +57,14 @@ Non-comprehensive list of changes in this release * Fixed a number of bugs and regressions. +* Improved host thread utilization on target nowait regions. Target tasks are + now continuously re-enqueued by the OpenMP runtime until their device-side + operations are completed, unblocking the host thread to execute other tasks. + +* Target tasks re-enqueue can be controlled on a per-thread basis based on + exponential backoff counting. ``OMPTARGET_QUERY_COUNT_THRESHOLD`` defines how + many target tasks must be re-enqueued before the thread starts blocking on the + device operations (defaults to 10). ``OMPTARGET_QUERY_COUNT_MAX`` defines the + maximum value for the per-thread re-enqueue counter (defaults to 5). + ``OMPTARGET_QUERY_COUNT_BACKOFF_FACTOR`` defines the decrement factor applied + to the counter when a target task is completed (defaults to 0.5).