[PATCH] D110108: [OpenMP] Add clang option to change device RTL stack size
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 20 18:26:45 PDT 2021
jhuber6 added inline comments.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:1057
+
+ Bld.restoreIP(OMPBuilder.createTargetInit(Bld, IsSPMD, requiresFullRuntime(),
+ StackSize));
----------------
tianshilei1992 wrote:
> Do we want to check somewhere if it's a valid value?
It's an unsigned value that corresponds to how much memory gets allocated, every value should be equally valid since we don't really know how much memory there is. I was considering making it a 64-bit unsigned as well, but I figured no one would need that much shared memory.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110108/new/
https://reviews.llvm.org/D110108
More information about the llvm-commits
mailing list