[all-commits] [llvm/llvm-project] fbcce3: [OpenMP] Honor `thread_limit` value when choosing ...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sat Aug 26 19:18:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbcce337064401162be06c8bd93b99155802ec52
https://github.com/llvm/llvm-project/commit/fbcce337064401162be06c8bd93b99155802ec52
Author: Shilei Tian <i at tianshilei.me>
Date: 2023-08-26 (Sat, 26 Aug 2023)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
Log Message:
-----------
[OpenMP] Honor `thread_limit` value when choosing grid size
D152014 introduced an optimization that favors more smaller blocks over
fewer larger blocks, even if user sets `thread_limit` explicitly. This patch changes
the behavior to honor user value.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D158802
More information about the All-commits
mailing list