RMM
23.12
RAPIDS Memory Manager
|
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>
Public Member Functions | |
allocation_info (std::size_t size, bool capture_stack) | |
Construct a new allocation info object. More... | |
Public Attributes | |
std::unique_ptr< rmm::detail::stack_trace > | strace |
Stack trace of the allocation. | |
std::size_t | allocation_size |
Size of the allocation. | |
Information stored about an allocation. Includes the size and a stack trace if the tracking_resource_adaptor
was initialized to capture stacks.
|
inline |
Construct a new allocation info object.
size | Size of the allocation |
capture_stack | If true, capture the stack trace for the allocation |