[all-commits] [llvm/llvm-project] 9a48bf: [flang][OpenMP] Allocate `reduction` init temps on...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Wed Jul 2 21:29:56 PDT 2025
Branch: refs/heads/users/ergawy/reduction_init_temps_on_stack
Home: https://github.com/llvm/llvm-project
Commit: 9a48bff311756ff1c3703f33d6acaecee195fe1e
https://github.com/llvm/llvm-project/commit/9a48bff311756ff1c3703f33d6acaecee195fe1e
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M flang/lib/Lower/Support/PrivateReductionUtils.cpp
M flang/test/Lower/OpenMP/parallel-reduction-array.f90
Log Message:
-----------
[flang][OpenMP] Allocate `reduction` init temps on the stack for GPUs
Temps needed for the reduction init regions are now allocate on the heap
all the time. However, this is performance killer for GPUs since malloc
calls are prohibitively expensive. Therefore, we should do these
allocations on the stack for GPU reductions.
Commit: c3777c9566273740206705d1c91262eca9995e02
https://github.com/llvm/llvm-project/commit/c3777c9566273740206705d1c91262eca9995e02
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
add todo
Compare: https://github.com/llvm/llvm-project/compare/1f7d4677265e...c3777c956627
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