[Openmp-commits] [openmp] [OpenMP][AMDGPU] Adapt dynamic callstack sizes to HIP behavior (PR #74080)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 4 10:27:15 PST 2023


================
@@ -2782,7 +2812,12 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
 
   /// The current size of the stack that will be used in cases where it could
   /// not be statically determined.
-  uint64_t StackSize = 16 * 1024 /* 16 KB */;
+  /// Default: 1024, in conformity to hipLimitStackSize.
+  uint64_t StackSize = 1024 /* 1 KiB */;
----------------
jdoerfert wrote:

uint32_t

https://github.com/llvm/llvm-project/pull/74080


More information about the Openmp-commits mailing list