CUDA Templates for Linear Algebra Subroutines and Solvers
Public Member Functions | Protected Attributes | List of all members
cutlass::cuda_exception Class Reference

C++ exception wrapper for CUDA cudaError_t.

#include <exceptions.h>

Inheritance diagram for cutlass::cuda_exception:
Inheritance graph
Collaboration diagram for cutlass::cuda_exception:
Collaboration graph

Public Member Functions

 cuda_exception (const char *msg="", cudaError_t err=cudaErrorUnknown)
 Constructor. More...
cudaError_t cudaError () const
 Returns the underlying CUDA cudaError_t. More...

Protected Attributes

const char * msg
 Explanatory string. More...
cudaError_t err
 Underlying CUDA cudaError_t. More...

Constructor & Destructor Documentation

cutlass::cuda_exception::cuda_exception ( const char *  msg = "",
cudaError_t  err = cudaErrorUnknown 

Member Function Documentation

cudaError_t cutlass::cuda_exception::cudaError ( ) const

Member Data Documentation

cudaError_t cutlass::cuda_exception::err
const char* cutlass::cuda_exception::msg

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