Loading...
Searching...
No Matches
rmm::out_of_memory Class Reference

Exception thrown when RMM runs out of memory. More...

#include <error.hpp>

Inheritance diagram for rmm::out_of_memory:
rmm::bad_alloc

Public Member Functions

 out_of_memory (const char *msg)
 Constructs an out_of_memory with the error message.
 out_of_memory (std::string const &msg)
 Constructs an out_of_memory with the error message.
Public Member Functions inherited from rmm::bad_alloc
 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.

Detailed Description

Exception thrown when RMM runs out of memory.

This error should only be thrown when we know for sure a resource is out of memory.

Constructor & Destructor Documentation

◆ out_of_memory() [1/2]

rmm::out_of_memory::out_of_memory ( const char * msg)

Constructs an out_of_memory with the error message.

Parameters
msgMessage to be associated with the exception

◆ out_of_memory() [2/2]

rmm::out_of_memory::out_of_memory ( std::string const & msg)

Constructs an out_of_memory with the error message.

Parameters
msgMessage to be associated with the exception

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