cuda.core.CUDAError#

exception cuda.core.CUDAError#

Raised when a CUDA driver or runtime call fails.

The message names the CUDA error and, when one is known, explains it. A secondary failure observed while the error was being raised, such as a failed restoration of the caller’s CUDA context, is attached as a note (__notes__). See the error handling page of the cuda.core documentation for the guarantees an exception provides.