pub const cudaErrorContextIsDestroyed: cudaError = 709;
This error indicates that the context current to the calling thread has been destroyed using ::cuCtxDestroy, or is a primary context which has not yet been initialized.