GPU Workshop Sample Code
 All Data Structures Namespaces Files Functions Variables Macros Pages
Public Member Functions
mycuda::exception Class Reference

Exception class for CUDA errors. More...

#include <mycuda.h>

Inheritance diagram for mycuda::exception:

Public Member Functions

 exception ()
 
 exception (std::string msg)
 
 ~exception () throw ()
 
const char * what () const throw ()
 

Detailed Description

Exception class for CUDA errors.

Example

void foo() throw (mycuda::exception) { if ( BAD_STUFF ) throw exception( "Bad stuff" ); }

Definition at line 106 of file mycuda.h.

Constructor & Destructor Documentation

mycuda::exception::exception ( )
inline

Definition at line 112 of file mycuda.h.

mycuda::exception::exception ( std::string  msg)
inline

Definition at line 114 of file mycuda.h.

mycuda::exception::~exception ( )
throw (
)
inline

Definition at line 116 of file mycuda.h.

Member Function Documentation

const char* mycuda::exception::what ( ) const
throw (
)
inline

Definition at line 118 of file mycuda.h.


The documentation for this class was generated from the following file: