diff --git a/test/common/devCompileOptions.cmake b/test/common/devCompileOptions.cmake index be6e7be12e89..842f6d6beba7 100644 --- a/test/common/devCompileOptions.cmake +++ b/test/common/devCompileOptions.cmake @@ -156,6 +156,9 @@ ELSE() ENDIF() IF(alpaka_ACC_GPU_HIP_ENABLE) LIST(APPEND alpaka_DEV_COMPILE_OPTIONS "-Wno-unused-command-line-argument") + # To avoid error message 'error: stack size limit exceeded (181056) in _ZN6alpaka16uniform_cuda_...' + # set stack limit to 20 MiB. + LIST(APPEND alpaka_DEV_COMPILE_OPTIONS "-Wframe-larger-than=20971520") ENDIF() SET(IS_ICPX OFF)