Information stored about an allocation. Includes the size and a stack trace if the tracking_resource_adaptor
was initialized to capture stacks.
More...
#include <tracking_resource_adaptor.hpp>
|
std::unique_ptr< rmm::detail::stack_trace > | strace |
| Stack trace of the allocation.
|
|
std::size_t | allocation_size |
| Size of the allocation.
|
|
template<typename Upstream>
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.
◆ allocation_info()
template<typename Upstream >
Construct a new allocation info object.
- Parameters
-
size | Size of the allocation |
capture_stack | If true, capture the stack trace for the allocation |
The documentation for this struct was generated from the following file: