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