diff options
author | Kareem Ergawy <kareem.ergawy@amd.com> | 2025-07-04 06:29:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-04 06:29:34 +0200 |
commit | 8c9e0c6c61f653928a992422d534e4e7f976dd55 (patch) | |
tree | 8f5849566c65303f9e116422a4579b77ef32235b /clang/lib/Frontend/FrontendAction.cpp | |
parent | ddcccc4afaff5de66b655caac997189157c34b82 (diff) | |
download | llvm-8c9e0c6c61f653928a992422d534e4e7f976dd55.zip llvm-8c9e0c6c61f653928a992422d534e4e7f976dd55.tar.gz llvm-8c9e0c6c61f653928a992422d534e4e7f976dd55.tar.bz2 |
[flang][OpenMP] Allocate `reduction` init temps on the stack for GPUs (#146667)
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.
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions