thrust::mr::polymorphic_adaptor_resource
Defined in thrust/mr/polymorphic_adaptor.h
-
template<typename Pointer = void*>
class polymorphic_adaptor_resource : public thrust::mr::memory_resource<void*> Public Types
-
using pointer = void*
Public Functions
-
inline polymorphic_adaptor_resource(memory_resource<Pointer> *t)
-
inline virtual Pointer do_allocate(std::size_t bytes, std::size_t alignment = THRUST_MR_DEFAULT_ALIGNMENT) override
-
inline virtual bool do_is_equal(const memory_resource<Pointer> &other) const noexcept override
-
inline void deallocate(pointer p, std::size_t bytes, std::size_t alignment = THRUST_MR_DEFAULT_ALIGNMENT) noexcept
-
inline bool is_equal(const memory_resource &other) const noexcept
-
using pointer = void*