]> git.ipfire.org Git - thirdparty/gcc.git/commit
nvptx offloading: 'GOMP_NVPTX_NATIVE_GPU_THREAD_STACK_SIZE' environment variable...
authorThomas Schwinge <tschwinge@baylibre.com>
Fri, 31 May 2024 15:04:39 +0000 (17:04 +0200)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 6 Jun 2024 11:41:47 +0000 (13:41 +0200)
commit0d25989d60d15866ef4737d66e02432f50717255
treecbe4e5dfd487bd3b9745958af2751c9580f36ec5
parenta29c5852a606588175d11844db84da0881227100
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.
libgomp/plugin/cuda-lib.def
libgomp/plugin/plugin-nvptx.c