Loading...
Searching...
No Matches
polymorphic_allocator.hpp File Reference
#include <rmm/aligned.hpp>
#include <rmm/detail/export.hpp>
#include <rmm/mr/per_device_resource.hpp>
#include <rmm/resource_ref.hpp>
#include <cuda/memory_resource>
#include <cuda/stream>
#include <cstddef>
#include <memory>

Go to the source code of this file.

Classes

class  rmm::mr::polymorphic_allocator< T >
 A stream ordered Allocator using a device_async_resource_ref to satisfy (de)allocations. More...
class  rmm::mr::stream_allocator_adaptor< Allocator >
 Adapts a stream ordered allocator to provide a standard Allocator interface. More...
struct  rmm::mr::stream_allocator_adaptor< Allocator >::rebind< T >
 Rebinds the allocator to the specified type. More...

Namespaces

namespace  rmm
 The top-level namespace containing all RMM functionality.
namespace  rmm::mr
 Memory Resource classes and adaptors.

Functions

template<typename T, typename U>
bool rmm::mr::operator== (polymorphic_allocator< T > const &lhs, polymorphic_allocator< U > const &rhs)
 Compare two polymorphic_allocators for equality.
template<typename T, typename U>
bool rmm::mr::operator!= (polymorphic_allocator< T > const &lhs, polymorphic_allocator< U > const &rhs)
 Compare two polymorphic_allocators for inequality.
template<typename A, typename O>
bool rmm::mr::operator== (stream_allocator_adaptor< A > const &lhs, stream_allocator_adaptor< O > const &rhs)
 Compare two stream_allocator_adaptors for equality.
template<typename A, typename O>
bool rmm::mr::operator!= (stream_allocator_adaptor< A > const &lhs, stream_allocator_adaptor< O > const &rhs)
 Compare two stream_allocator_adaptors for inequality.