cuda.core.CUDAOutOfMemoryError#
- exception cuda.core.CUDAOutOfMemoryError#
Raised when a CUDA driver or runtime call fails for lack of memory.
CUDA_ERROR_OUT_OF_MEMORYandcudaErrorMemoryAllocationraise this class. It is both aCUDAErrorand aMemoryError, so code that catchesMemoryErrorto retry with a smaller request handlescuda.corethe same way as other array libraries.Added in version 1.3.0.