Skip to main content

class host_object_fence_promise

Declaration

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

Inherits from: fence_promise

Template Parameters

T

Member Variables

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

Member Function Overview

Inherited from fence_promise:

Member Functions

void fulfill()


std::future<T> get_future()


allocation_id get_user_allocation_id()


explicit host_object_fence_promise(
    const T* instance)

Parameters

const T* instance