39 std::function<
void*(
void*, size_t, size_t)> map_buffer;
std::function< void(const std::shared_ptr< void > &)> initialize_buffer
Initialize a buffer object.
std::function< void(void *)> unmap_buffer
Unmap previously mapped buffer memory.
std::function< void(const std::shared_ptr< void > &)> destroy_buffer
Destroy a buffer and free its associated memory.
std::function< void(void *, size_t, size_t)> invalidate_range
Invalidate mapped memory range (make device writes visible to host)
std::function< void(void *, size_t, size_t)> flush_range
Flush mapped memory range (make host writes visible to device)
std::function< void(std::function< void(void *)>)> record_deferred
Record commands for deferred execution.
std::function< void(std::function< void(void *)>)> execute_immediate
Execute commands immediately with synchronization.
Backend buffer management service interface.