RMM  23.12
RAPIDS Memory Manager
Classes | Functions
tracking_resource_adaptor.hpp File Reference
#include <rmm/detail/error.hpp>
#include <rmm/detail/stack_trace.hpp>
#include <rmm/logger.hpp>
#include <rmm/mr/device/device_memory_resource.hpp>
#include <fmt/core.h>
#include <cstddef>
#include <map>
#include <mutex>
#include <shared_mutex>
#include <sstream>
Include dependency graph for tracking_resource_adaptor.hpp:

Go to the source code of this file.

Classes

class  rmm::mr::tracking_resource_adaptor< Upstream >
 Resource that uses Upstream to allocate memory and tracks allocations. More...
 
struct  rmm::mr::tracking_resource_adaptor< Upstream >::allocation_info
 Information stored about an allocation. Includes the size and a stack trace if the tracking_resource_adaptor was initialized to capture stacks. More...
 

Functions

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