Class thrust::mr::new_delete_resource_base
class thrust::mr::new_delete_resource_base { public:
/* Inherited from thrust::mr::memory_resource<>
*/ typedef see below pointer;
void * do_allocate(std::size_t bytes, std::size_t alignment = alignof(std::max_align_t)) override;
void do_deallocate(void * p, std::size_t bytes, std::size_t alignment = alignof(std::max_align_t)) override;
/* Inherited from thrust::mr::memory_resource<>
*/ virtual ~memory_resource() = default;
/* Inherited from thrust::mr::memory_resource<>
*/ _CCCL_NODISCARD pointer allocate(std::size_t bytes, std::size_t alignment = alignof(std::max_align_t));
/* Inherited from thrust::mr::memory_resource<>
*/ void deallocate(pointer p, std::size_t bytes, std::size_t alignment = alignof(std::max_align_t));
/* Inherited from thrust::mr::memory_resource<>
*/ _CCCL_HOST_DEVICE bool is_equal(const memory_resource & other) const;
/* Inherited from thrust::mr::memory_resource<>
*/ virtual _CCCL_HOST_DEVICE bool do_is_equal(const memory_resource & other) const; };
Member Functions
Function thrust::mr::new_delete_resource_base::do_allocate
void * do_allocate(std::size_t bytes, std::size_t alignment = alignof(std::max_align_t)) override;
Function thrust::mr::new_delete_resource_base::do_deallocate
void do_deallocate(void * p, std::size_t bytes, std::size_t alignment = alignof(std::max_align_t)) override;