[all-commits] [llvm/llvm-project] 860bd5: [flang][OpenMP] Allocate `reduction` init temps on...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Thu Jul 3 03:52:44 PDT 2025
Branch: refs/heads/users/ergawy/reduction_init_temps_on_stack
Home: https://github.com/llvm/llvm-project
Commit: 860bd598def52f93e0d1f043b02153308ac0e1b4
https://github.com/llvm/llvm-project/commit/860bd598def52f93e0d1f043b02153308ac0e1b4
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-07-03 (Thu, 03 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: 4cdd2577b62fc1e0c954d55ad8c1f8628878a76f
https://github.com/llvm/llvm-project/commit/4cdd2577b62fc1e0c954d55ad8c1f8628878a76f
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-07-03 (Thu, 03 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/9fe0e3f917eb...4cdd2577b62f
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