stack_trace is a class that will capture a stack on instantiation for output later. It can then be used in an output stream to display stack information. More...
#include <stack_trace.hpp>
Friends | |
std::ostream & | operator<< (std::ostream &os, const stack_trace &trace) |
stack_trace is a class that will capture a stack on instantiation for output later. It can then be used in an output stream to display stack information.
rmm::detail::stack_trace saved_stack;
std::cout << "callstack: " << saved_stack;