Classes | Functions
statistics_resource_adaptor.hpp File Reference
#include <rmm/mr/device/device_memory_resource.hpp>
#include <cstddef>
#include <mutex>
#include <shared_mutex>
Include dependency graph for statistics_resource_adaptor.hpp:

Go to the source code of this file.

Classes

class  rmm::mr::statistics_resource_adaptor< Upstream >
 Resource that uses Upstream to allocate memory and tracks statistics on memory allocations. More...
 
struct  rmm::mr::statistics_resource_adaptor< Upstream >::counter
 Utility struct for counting the current, peak, and total value of a number. More...
 

Functions

template<typename Upstream >
statistics_resource_adaptor< Upstream > rmm::mr::make_statistics_adaptor (Upstream *upstream)
 Convenience factory to return a statistics_resource_adaptor around the upstream resource upstream. More...