[Openmp-commits] [PATCH] D132005: [OpenMP] Add non-blocking support for target nowait regions

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 23 20:23:47 PST 2022


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/src/interface.cpp:331
+      Int64Envar("OMPTARGET_QUERY_COUNT_THRESHOLD", 5),
+      Envar<float>("OMPTARGET_QUERY_COUNT_BACKOFF_FACTOR", 0.5f));
+
----------------
jdoerfert wrote:
> Why is this thread_local? Should it be tied to the async info object with non-blocking tasks?
Yeah, I'd expect the counter to be tied to a task.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132005



More information about the Openmp-commits mailing list