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 &a)
 
 arena_cleaner (const arena_cleaner &)=delete
 
arena_cleaneroperator= (const 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: