[all-commits] [llvm/llvm-project] 597d2f: [OpenMP] Add Environment Variable to disable Reuse...

Tim Gymnich via All-commits all-commits at lists.llvm.org
Fri Jun 14 07:35:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 597d2f7662c31cae4c8a54cc27e2ea12833380ea
      https://github.com/llvm/llvm-project/commit/597d2f7662c31cae4c8a54cc27e2ea12833380ea
  Author: Tim Gymnich <tim at gymni.ch>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    A offload/test/offloading/high_trip_count_block_limit.cpp
    M openmp/docs/design/Runtimes.rst

  Log Message:
  -----------
  [OpenMP] Add Environment Variable to disable Reuse of Blocks for High Loop Trip Counts (#89239)

Sometimes it might be beneficial to spawn more thread blocks instead of
reusing existing for multiple loop iterations.

**Alternatives considered:**

Make `DefaultNumBlocks` settable via an environment variable.

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list