8 #include <rmm/detail/export.hpp>
13 namespace RMM_NAMESPACE {
25 using std::logic_error::logic_error;
35 using std::runtime_error::runtime_error;
63 [[nodiscard]]
const char*
what() const noexcept override;
100 using std::out_of_range::out_of_range;
Exception thrown when an RMM allocation fails.
Definition: error.hpp:44
const char * what() const noexcept override
The explanatory string.
bad_alloc(std::string const &msg)
Constructs a bad_alloc with the error message.
bad_alloc(const char *msg)
Constructs a bad_alloc with the error message.
Exception thrown when RMM runs out of memory.
Definition: error.hpp:76
out_of_memory(std::string const &msg)
Constructs an out_of_memory with the error message.
out_of_memory(const char *msg)
Constructs an out_of_memory with the error message.
Exception thrown when attempting to access outside of a defined range.
Definition: error.hpp:99
Exception thrown when a CUDA error is encountered.
Definition: error.hpp:34
Exception thrown when logical precondition is violated.
Definition: error.hpp:24