[Openmp-commits] [clang] [openmp] [OpenMP][FIX] Allocate per launch memory for GPU team reductions (PR #70752)
Shilei Tian via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 1 09:32:24 PDT 2023
================
@@ -194,6 +191,9 @@ int32_t __kmpc_nvptx_teams_reduce_nowait_v2(
ThreadId = 0;
}
+ uint32_t &IterCnt = state::getKernelLaunchEnvironment().ReductionIterCnt;
+ uint32_t &Cnt = state::getKernelLaunchEnvironment().ReductionCnt;
----------------
shiltian wrote:
These two variables seem not used anywhere else.
https://github.com/llvm/llvm-project/pull/70752
More information about the Openmp-commits
mailing list