[Openmp-commits] [openmp] [clang] [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:25 PDT 2023
================
@@ -387,7 +387,7 @@ struct GenericKernelTy {
KernelEnvironmentTy KernelEnvironment;
/// The prototype kernel launch environment.
- KernelLaunchEnvironmentTy KernelLaunchEnvironment;
+ KernelLaunchEnvironmentTy KernelLaunchEnvironment = {0, 0};
----------------
shiltian wrote:
```suggestion
KernelLaunchEnvironmentTy KernelLaunchEnvironment = {0, 0, nullptr};
```
https://github.com/llvm/llvm-project/pull/70752
More information about the Openmp-commits
mailing list