34#ifdef NDA_TEST_DEFAULT_ALLOC_MBUCKET
35 template <
typename Allocator =
42 template <
typename Allocator>
50#ifdef NDA_TEST_DEFAULT_ALLOC_SSO
62 template <mem::AddressSpace AdrSp = mem::Host>
69 template <
size_t Size>
83 template <
size_t Size>
107 template <mem::AddressSpace AdrSp = mem::Host>
113 template <
typename T>
Provides custom allocators for the nda library.
Custom allocator that uses nda::mem::malloc to allocate memory.
Custom allocator that dispatches memory allocation to one of two allocators based on the size of the ...
heap_basic< mem::mallocator< AdrSp > > heap
Alias template of the nda::heap_basic policy using an nda::mem::mallocator.
Provides various handles to take care of memory management for nda::basic_array and nda::basic_array_...
Memory policy using an nda::mem::handle_borrowed.
mem::handle_borrowed< T, AdrSp > handle
Memory policy using an nda::mem::handle_heap.
mem::handle_heap< T, Allocator > handle
Handle type for the policy.
A non-owning handle for a memory block on the heap.
A handle for a memory block on the heap.
A handle for a memory block on the heap with shared ownership.
A handle for a memory block on the heap or stack depending on the size of the data.
A handle for a memory block on the stack.
Memory policy using an nda::mem::handle_shared.
mem::handle_shared< T > handle
Handle type for the policy.
Memory policy using an nda::mem::handle_sso.
mem::handle_sso< T, Size > handle
Handle type for the policy.
Memory policy using an nda::mem::handle_stack.
mem::handle_stack< T, Size > handle
Handle type for the policy.