[Openmp-commits] [openmp] [Libomptarget] Handle dynamic stack sizes for AMD COV5 (PR #72606)
Saiyedul Islam via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 17 03:37:06 PST 2023
================
@@ -3100,6 +3113,9 @@ Error AMDGPUKernelTy::launchImpl(GenericDeviceTy &GenericDevice,
GroupSize += MaxDynCGroupMem;
}
+ uint64_t StackSize;
+ GenericDevice.getDeviceStackSize(StackSize);
----------------
saiislam wrote:
` if (auto Err = GenericDevice.getDeviceStackSize(StackSize))
return Err;`
https://github.com/llvm/llvm-project/pull/72606
More information about the Openmp-commits
mailing list