BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
Public Member Functions | Public Attributes | List of all members
CudaError Struct Reference

Helper exception for throwing sensible CUDA errors. More...

#include <embedsom_cuda.h>

Inheritance diagram for CudaError:
Inheritance graph
[legend]
Collaboration diagram for CudaError:
Collaboration graph
[legend]

Public Member Functions

 CudaError (cudaError_t status=cudaSuccess)
 reported cuda status, may be examined separately More...
 
 CudaError (const char *msg, cudaError_t status=cudaSuccess)
 
 CudaError (const std::string &msg, cudaError_t status=cudaSuccess)
 
virtual ~CudaError () noexcept
 
virtual const char * what () const throw ()
 

Public Attributes

std::string msg
 
cudaError_t status
 message More...
 

Detailed Description

Helper exception for throwing sensible CUDA errors.

Definition at line 98 of file embedsom_cuda.h.

Constructor & Destructor Documentation

◆ CudaError() [1/3]

CudaError::CudaError ( cudaError_t  status = cudaSuccess)
inline

reported cuda status, may be examined separately

Definition at line 103 of file embedsom_cuda.h.

◆ CudaError() [2/3]

CudaError::CudaError ( const char *  msg,
cudaError_t  status = cudaSuccess 
)
inline

Definition at line 107 of file embedsom_cuda.h.

◆ CudaError() [3/3]

CudaError::CudaError ( const std::string &  msg,
cudaError_t  status = cudaSuccess 
)
inline

Definition at line 112 of file embedsom_cuda.h.

◆ ~CudaError()

virtual CudaError::~CudaError ( )
inlinevirtualnoexcept

Definition at line 117 of file embedsom_cuda.h.

Member Function Documentation

◆ what()

virtual const char * CudaError::what ( ) const
throw (
)
inlinevirtual

Definition at line 119 of file embedsom_cuda.h.

Member Data Documentation

◆ msg

std::string CudaError::msg

Definition at line 100 of file embedsom_cuda.h.

◆ status

cudaError_t CudaError::status

message

Definition at line 101 of file embedsom_cuda.h.


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