libSCALE  0.2.0
A modern C++ CUDA API
sp::CudaInvalidGraphicsContextException Class Reference

Exception corresponding to cudaErrorInvalidGraphicsContext of cudaError. More...

#include <Exception.hpp>

Inheritance diagram for sp::CudaInvalidGraphicsContextException:
[legend]

Public Member Functions

 CudaInvalidGraphicsContextException (const std::string &description)
 
 CudaInvalidGraphicsContextException (const CudaInvalidGraphicsContextException &)
 
- Public Member Functions inherited from sp::CudaException
 CudaException (cudaError_t e)
 
 CudaException (cudaError_t e, const std::string desc)
 
 CudaException (const CudaException &)
 
cudaError_t getErrorCode () const
 Get the cudaError_t corresponding to this error. More...
 
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
 
what (T... args)
 
- Public Member Functions inherited from std::exception
exception (T... args)
 
operator= (T... args)
 
what (T... args)
 
~exception (T... args)
 

Detailed Description

Exception corresponding to cudaErrorInvalidGraphicsContext of cudaError.