https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97384
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Thomas Schwinge <tschwi...@gcc.gnu.org>: https://gcc.gnu.org/g:0d25989d60d15866ef4737d66e02432f50717255 commit r15-1069-g0d25989d60d15866ef4737d66e02432f50717255 Author: Thomas Schwinge <tschwi...@baylibre.com> Date: Fri May 31 17:04:39 2024 +0200 nvptx offloading: 'GOMP_NVPTX_NATIVE_GPU_THREAD_STACK_SIZE' environment variable [PR97384, PR105274] ... as a means to manually set the "native" GPU thread stack size. PR libgomp/97384 PR libgomp/105274 libgomp/ * plugin/cuda-lib.def (cuCtxSetLimit): Add. * plugin/plugin-nvptx.c (nvptx_open_device): Handle 'GOMP_NVPTX_NATIVE_GPU_THREAD_STACK_SIZE' environment variable.