cuda::experimental::stf::block_allocator_untyped#

class block_allocator_untyped#

Type-erased counterpart to block_allocator.

Subclassed by cuda::experimental::stf::block_allocator< T >

Public Functions

block_allocator_untyped() = default#
inline block_allocator_untyped(
::std::shared_ptr<block_allocator_interface> ptr
)#
template<typename ctx_t>
inline block_allocator_untyped(
ctx_t &ctx,
::std::shared_ptr<block_allocator_interface> ptr
)#
inline void *allocate(
backend_ctx_untyped &bctx,
const data_place &memory_node,
::std::ptrdiff_t &s,
event_list &prereqs
)#
inline void deallocate(
backend_ctx_untyped &bctx,
const data_place &memory_node,
event_list &prereqs,
void *ptr,
size_t sz
)#
inline event_list deinit(backend_ctx_untyped &bctx)#
inline ::std::string to_string() const#
inline explicit operator bool() const#

Friends

friend class block_allocator