From 50fce7854e55d278b40633b301a883e576ed6a4e Mon Sep 17 00:00:00 2001 From: gnzng Date: Mon, 27 Jul 2026 08:11:19 -0700 Subject: [PATCH] adding NUMBA_CUDA_DEBUGINFO --- docs/source/reference/envvars.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/source/reference/envvars.rst b/docs/source/reference/envvars.rst index 1bcee9a7f..ee648fd5d 100644 --- a/docs/source/reference/envvars.rst +++ b/docs/source/reference/envvars.rst @@ -31,6 +31,14 @@ target. If set, don't compile and execute code for the GPU, but use the CUDA Simulator instead. For debugging purposes. +.. envvar:: NUMBA_CUDA_DEBUGINFO + + If set to non-zero, enable debug info generation by default when compiling + kernels and device functions, as if ``debug=True`` were passed to the + :func:`@cuda.jit ` decorator. A ``debug`` argument passed + to the decorator takes precedence over this variable. Since debug info + degrades performance, ``opt`` should be set to ``False`` when this + variable is used. The default is 0 (debug info disabled). .. envvar:: NUMBA_CUDA_ARRAY_INTERFACE_SYNC