is_teardown_noop

Function is_teardown_noop 

Source
pub fn is_teardown_noop(status: i32) -> bool
Expand description

Whether a CUresult means “the context is already gone, nothing to do”.

Also covers CUDA_ERROR_INVALID_CONTEXT (201) and CUDA_ERROR_CONTEXT_IS_DESTROYED (709), which arrive by the same route depending on how far the driver got before we ran.