Skip to content

cuda: Introduce GST_CUDA_CRITICAL_ERRORS env to abort on critical error

Seungha Yang requested to merge seungha.yang/gstreamer:cuda-abort-on-error into main

Adding GST_CUDA_CRITICAL_ERRORS env variable so that program can be terminated on unrecoverable error.

Example) GST_CUDA_CRITICAL_ERRORS=2,700 gst-launch-1.0 ...

In this example, CUDA_ERROR_OUT_OF_MEMORY(2) and CUDA_ERROR_ILLEGAL_ADDRESS(700) are registered as critical error and program will be aborted on those errors

Merge request reports