Skip to main content

class buffer_fence_promise

Declaration

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

Declared at: include/fence.h:93

Inherits from: task_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 task_promise:

Member Functions

explicit buffer_fence_promise(
    const subrange<Dims>& sr)

Declared at: include/fence.h:95

Parameters

const subrange<Dims>& sr

void fulfill()

Declared at: include/fence.h:100


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

Declared at: include/fence.h:98


allocation_id get_user_allocation_id()

Declared at: include/fence.h:102