Public Member Functions | List of all members
rmm::mr::detail::arena::arena_cleaner< Upstream > Class Template Reference

RAII-style cleaner for an arena. More...

#include <arena.hpp>

Public Member Functions

 arena_cleaner (std::shared_ptr< arena< Upstream >> const &arena)
 arena_cleaner (arena_cleaner const &)=delete
arena_cleaneroperator= (arena_cleaner const &)=delete
 arena_cleaner (arena_cleaner &&) noexcept=delete
arena_cleaneroperator= (arena_cleaner &&)=delete

Detailed Description

template<typename Upstream>
class rmm::mr::detail::arena::arena_cleaner< Upstream >

RAII-style cleaner for an arena.

This is useful when a thread is about to terminate, and it contains a per-thread arena.

Template Parameters
UpstreamMemory resource to use for allocating the global arena. Implements rmm::mr::device_memory_resource interface.

The documentation for this class was generated from the following file: