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:92

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:94

Parameters

const subrange<Dims>& sr

void fulfill()

Declared at: include/fence.h:99


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

Declared at: include/fence.h:97


allocation_id get_user_allocation_id()

Declared at: include/fence.h:101