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

Go to the source code of this file.

Classes

class  rmm::mr::limiting_resource_adaptor< Upstream >
 Resource that uses Upstream to allocate memory and limits the total allocations possible. More...
 

Functions

template<typename Upstream >
limiting_resource_adaptor< Upstream > rmm::mr::make_limiting_adaptor (Upstream *upstream, std::size_t allocation_limit)
 Convenience factory to return a limiting_resource_adaptor around the upstream resource upstream. More...