35 #include "../backends.h"
36 #include "../decorators.h"
50 typename _index_type =
uint32,
51 typename allocator =
typename default_memory_allocator<system>::type>
117 if (old_storage !=
nullptr)
138 if (old_storage !=
nullptr)
174 virtual void free(
void)
override
base::value_type value_type
allocation< system, T, _index_type > base
LIFT_HOST_DEVICE persistent_allocation(const persistent_allocation &other)
base::size_type size_type
base::index_type index_type
persistent_allocation(size_type count)
LIFT_HOST_DEVICE persistent_allocation()
persistent_allocation & operator=(const std::initializer_list< value_type > &l)
void reserve(size_type count)
base::size_type size_type
persistent_allocation(const std::initializer_list< value_type > &l)
base::pointer_type pointer_type
base::pointer_type pointer_type
base::value_type value_type
base::index_type index_type
void device_memory_copy(void *dst, const void *src, size_t size)
void push_back(const value_type &value)
virtual void resize(size_type count) override
size_type storage_capacity
base::value_type value_type
virtual void free(void) override
void poke(index_type pos, const value_type value)
base::size_type size_type
size_type capacity(void) const
base::index_type index_type