VTK-m  2.0
Public Member Functions | List of all members
vtkm::cont::cuda::ErrorCuda Class Reference

This error is thrown whenever an unidentified CUDA runtime error is encountered. More...

#include <ErrorCuda.h>

Inheritance diagram for vtkm::cont::cuda::ErrorCuda:
vtkm::cont::Error

Public Member Functions

 ErrorCuda (cudaError_t error)
 
 ErrorCuda (cudaError_t error, const std::string &file, vtkm::Id line, const std::string &description)
 
- Public Member Functions inherited from vtkm::cont::Error
const std::string & GetMessage () const
 
const std::string & GetStackTrace () const
 
const char * what () const noexcept override
 
bool GetIsDeviceIndependent () const
 Returns true if this exception is device independent. More...
 

Additional Inherited Members

- Protected Member Functions inherited from vtkm::cont::Error
 Error ()
 
 Error (const std::string &message, bool is_device_independent=false)
 
void SetMessage (const std::string &message)
 

Detailed Description

This error is thrown whenever an unidentified CUDA runtime error is encountered.

Constructor & Destructor Documentation

◆ ErrorCuda() [1/2]

vtkm::cont::cuda::ErrorCuda::ErrorCuda ( cudaError_t  error)
inline

◆ ErrorCuda() [2/2]

vtkm::cont::cuda::ErrorCuda::ErrorCuda ( cudaError_t  error,
const std::string &  file,
vtkm::Id  line,
const std::string &  description 
)
inline

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