CudaException

struct CudaException : public std::runtime_error

Exception thrown when a CUDA function returns a non-zero error code.

Public Functions

inline CUresult error() const

The CUresult of this error.