Skip to main content

class host_object_fence_promise

Declaration

template <typename T>
class host_object_fence_promise : public task_promise { /* full declaration omitted */ };

Declared at: include/fence.h:76

Inherits from: task_promise

Template Parameters

T

Member Variables

const T* m_instance
std::promise<T> m_promise

Member Function Overview

Inherited from task_promise:

Member Functions

void fulfill()

Declared at: include/fence.h:82


std::future<T> get_future()

Declared at: include/fence.h:80


allocation_id get_user_allocation_id()

Declared at: include/fence.h:84


explicit host_object_fence_promise(
    const T* instance)

Declared at: include/fence.h:78

Parameters

const T* instance