RMM  23.12
RAPIDS Memory Manager
Public Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for rmm::out_of_memory:
Collaboration graph
[legend]

Public Member Functions

 out_of_memory (const char *msg)
 Constructs an out_of_memory with the error message. More...
 
 out_of_memory (std::string const &msg)
 Constructs an out_of_memory with the error message. More...
 
- Public Member Functions inherited from rmm::bad_alloc
 bad_alloc (const char *msg)
 Constructs a bad_alloc with the error message. More...
 
 bad_alloc (std::string const &msg)
 Constructs a bad_alloc with the error message. More...
 
const char * what () const noexcept override
 The explanatory string. More...
 

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)
inline

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)
inline

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: