Exception thrown when an RMM allocation fails.
More...
#include <error.hpp>
|
| | bad_alloc (const char *msg) |
| | Constructs a bad_alloc with the error message.
|
| | bad_alloc (std::string const &msg) |
| | Constructs a bad_alloc with the error message.
|
| const char * | what () const noexcept override |
| | The explanatory string.
|
Exception thrown when an RMM allocation fails.
◆ bad_alloc() [1/2]
| rmm::bad_alloc::bad_alloc |
( |
const char * | msg | ) |
|
Constructs a bad_alloc with the error message.
- Parameters
-
| msg | Message to be associated with the exception |
◆ bad_alloc() [2/2]
| rmm::bad_alloc::bad_alloc |
( |
std::string const & | msg | ) |
|
Constructs a bad_alloc with the error message.
- Parameters
-
| msg | Message to be associated with the exception |
◆ what()
| const char * rmm::bad_alloc::what |
( |
| ) |
const |
|
nodiscardoverridenoexcept |
The explanatory string.
- Returns
- The explanatory string
The documentation for this class was generated from the following file: