Skip to main content

class buffer_fence_promise

Declaration

template <typename DataT, int Dims>
class buffer_fence_promise : public fence_promise { /* full declaration omitted */ };

Inherits from: fence_promise

Template Parameters

DataT
int Dims

Member Variables

subrange<Dims> m_subrange
std::unique_ptr<DataT[]> m_data
allocation_id m_aid
std::promise<buffer_snapshot<DataT, Dims>> m_promise

Member Function Overview

Inherited from fence_promise:

Member Functions

explicit buffer_fence_promise(
    const subrange<Dims>& sr)

Parameters

const subrange<Dims>& sr

void fulfill()


std::future<buffer_snapshot<DataT, Dims>>
get_future()


allocation_id get_user_allocation_id()