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

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 18 13:22:27 PDT 2024


================
@@ -829,6 +829,12 @@ struct GenericDeviceTy : public DeviceAllocatorTy {
     return OMPX_MinThreadsForLowTripCount;
   }
 
+  /// Whether or not to reuse blocks for high trip count loops.
+  /// @see OMPX__ReuseBlocksForHighTripCount
+  virtual bool getReuseBlocksForHighTripCount() {
----------------
jhuber6 wrote:

Why is this virtual?

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


More information about the Openmp-commits mailing list