RMM  23.12
RAPIDS Memory Manager
Classes | Typedefs
failure_callback_resource_adaptor.hpp File Reference
#include <rmm/detail/error.hpp>
#include <rmm/mr/device/device_memory_resource.hpp>
#include <cstddef>
#include <functional>
#include <utility>
Include dependency graph for failure_callback_resource_adaptor.hpp:

Go to the source code of this file.

Classes

class  rmm::mr::failure_callback_resource_adaptor< Upstream, ExceptionType >
 A device memory resource that calls a callback function when allocations throw a specified exception type. More...
 

Typedefs

using rmm::mr::failure_callback_t = std::function< bool(std::size_t, void *)>
 Callback function type used by failure_callback_resource_adaptor. More...