Exception thrown when a CUDA error is encountered.
More...
#include <error.hpp>
|
| cuda_error (std::string const &message, cudaError_t const &error) |
| Construct a new cuda error object with error message and code. More...
|
|
cudaError_t | error_code () const |
| Returns the CUDA error code associated with the exception. More...
|
|
char const * | stacktrace () const |
| Get the stored stacktrace captured during object construction. More...
|
|
|
cudaError_t | _cudaError |
| CUDA error code.
|
|
std::string const | _stacktrace |
| The whole stacktrace stored as one string.
|
|
Exception thrown when a CUDA error is encountered.
Definition at line 84 of file error.hpp.
◆ cuda_error()
cudf::cuda_error::cuda_error |
( |
std::string const & |
message, |
|
|
cudaError_t const & |
error |
|
) |
| |
|
inline |
Construct a new cuda error object with error message and code.
- Parameters
-
message | Error message |
error | CUDA error code |
Definition at line 91 of file error.hpp.
◆ error_code()
cudaError_t cudf::cuda_error::error_code |
( |
| ) |
const |
|
inline |
Returns the CUDA error code associated with the exception.
- Returns
- CUDA error code
Definition at line 102 of file error.hpp.
The documentation for this struct was generated from the following file: