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#
- ::std::shared_ptr<block_allocator_interface> ptr
- 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
-
block_allocator_untyped() = default#