Classes | Namespaces | Typedefs
failure_callback_resource_adaptor.hpp File Reference
#include <rmm/detail/error.hpp>
#include <rmm/detail/export.hpp>
#include <rmm/mr/device_memory_resource.hpp>
#include <rmm/mr/per_device_resource.hpp>
#include <rmm/resource_ref.hpp>
#include <cstddef>
#include <functional>
#include <utility>
Include dependency graph for failure_callback_resource_adaptor.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Namespaces

 rmm
 RAPIDS Memory Manager - The top-level namespace for all RMM functionality.
 
 rmm::mr
 Memory Resource classes and adaptors.
 

Typedefs

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