Classes | Functions
logging_resource_adaptor.hpp File Reference
#include <rmm/cuda_stream_view.hpp>
#include <rmm/detail/error.hpp>
#include <rmm/mr/device/device_memory_resource.hpp>
#include <fmt/core.h>
#include <spdlog/common.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/ostream_sink.h>
#include <spdlog/spdlog.h>
#include <cstddef>
#include <memory>
#include <sstream>
#include <string_view>
Include dependency graph for logging_resource_adaptor.hpp:

Go to the source code of this file.

Classes

class  rmm::mr::logging_resource_adaptor< Upstream >
 Resource that uses Upstream to allocate memory and logs information about the requested allocation/deallocations. More...
 

Functions

template<typename Upstream >
logging_resource_adaptor< Upstream > rmm::mr::make_logging_adaptor (Upstream *upstream, std::string const &filename=logging_resource_adaptor< Upstream >::get_default_filename(), bool auto_flush=false)
 Convenience factory to return a logging_resource_adaptor around the upstream resource upstream. More...
 
template<typename Upstream >
logging_resource_adaptor< Upstream > rmm::mr::make_logging_adaptor (Upstream *upstream, std::ostream &stream, bool auto_flush=false)
 Convenience factory to return a logging_resource_adaptor around the upstream resource upstream. More...