Exceptions

CUDA(a)

Wrap a function that returns cudaError_t and throw a cuda_error if not cudaSuccess.

class augpy::cuda_error : private exception

C++ exception for Cuda errors.

Public Functions

cuda_error(cudaError_t error)

Create exception from error code.

const char *what() const noexcept

Text description of error.

CNMEM(a)

Wrap a function that returns cnmemStatus_t and throw a cnmem_error if not CNMEM_STATUS_SUCCESS.

class augpy::cnmem_error : private exception

C++ exception for cnmem errors.

Public Functions

cnmem_error(cnmemStatus_t error)

Create exception from error code.

const char *what() const noexcept

Text description of error.

NVJPEG(a)

Wrap a function that returns nvjpegStatus_t and throw a nvjpeg_error if not NVJPEG_STATUS_SUCCESS.

class augpy::nvjpeg_error : private exception

C++ exception for nvjpeg errors.

Public Functions

nvjpeg_error(nvjpegStatus_t error)

Create exception from error code.

const char *what() const noexcept

Text description of error.

CURAND(a)

Wrap a function that returns curandStatus_t and throw a curand_error if not CURAND_STATUS_SUCCESS.

class augpy::curand_error : private exception

C++ exception for CuRand errors.

Public Functions

curand_error(curandStatus_t error)

Create exception from error code.

const char *what() const noexcept

Text description of error.

Warning

doxygendefine: Cannot find define “CUBLAS” in doxygen xml output for project “augpy” from directory: /home/docs/checkouts/readthedocs.org/user_builds/augpy/checkouts/latest/doc/source/../xml

Warning

doxygenclass: Cannot find class “augpy::cublas_error” in doxygen xml output for project “augpy” from directory: /home/docs/checkouts/readthedocs.org/user_builds/augpy/checkouts/latest/doc/source/../xml