[Openmp-commits] [openmp] [OpenMP] Add Environment Variable to disable Reuse of Blocks for High Loop Trip Counts (PR #89239)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 18 11:34:42 PDT 2024


================
@@ -904,6 +910,9 @@ struct GenericDeviceTy : public DeviceAllocatorTy {
   UInt32Envar OMPX_MinThreadsForLowTripCount =
       UInt32Envar("LIBOMPTARGET_MIN_THREADS_FOR_LOW_TRIP_COUNT", 32);
 
+  BoolEnvar OMPX__ReuseBlocksForHighTripCount =
----------------
jdoerfert wrote:

One `_` is enough. We need a comment here explaining the meaning. Also need to add it to the docs.
Finally, can you add this into the test that checks for the trip count adjustment as a new run line with the variable set?

https://github.com/llvm/llvm-project/pull/89239


More information about the Openmp-commits mailing list