diff options
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | 2025-01-28 20:57:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-28 20:57:33 -0800 |
commit | 654b76321a602db4d68734e9fd11efbb7d8eb617 (patch) | |
tree | 5b68a5708705de642dcf94e7495e49f92a91e86a /clang/unittests/Format/ConfigParseTest.cpp | |
parent | 9052b37ab1aa67a039b34356f37236fecc42bac2 (diff) | |
download | llvm-654b76321a602db4d68734e9fd11efbb7d8eb617.zip llvm-654b76321a602db4d68734e9fd11efbb7d8eb617.tar.gz llvm-654b76321a602db4d68734e9fd11efbb7d8eb617.tar.bz2 |
[flang][cuda] Allow to set the stack limit size (#124859)
This patch adds a call to the CUFInit function just after `ProgramStart`
when CUDA Fortran is enabled to initialize the CUDA context. This allows
us to set up some context information like the stack limit that can be
defined by an environment variable `ACC_OFFLOAD_STACKSIZE=<value>`.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions