#include <amprt.h>
|
| _Ubiquitous_buffer (size_t _Num_elems, size_t _Elem_size) |
|
| _Ubiquitous_buffer (_In_ _Buffer *_Master_buffer) |
|
| ~_Ubiquitous_buffer () |
|
| _Ubiquitous_buffer () |
|
| _Ubiquitous_buffer (const _Ubiquitous_buffer &rhs) |
|
_Ubiquitous_buffer & | operator= (const _Ubiquitous_buffer &rhs) |
|
_AMPIMP _Event | _Get_access_async (_In_ _View_key _Key, accelerator_view _Av, _Access_mode _Mode, _Buffer_ptr &_Buf_ptr, _Inout_opt_ ULONGLONG *_Sync_size=NULL) |
|
_Event | _Commit_view_async (_In_ _View_info *_Info, _Inout_ ULONGLONG *_Sync_size=nullptr) |
|
_Ret_ _Buffer * | _Get_buffer (_In_ _Accelerator_view_impl *_Av, bool _Create=true) |
|
void | _Set_new_access_mode (_Inout_ _View_info *_Info, _Access_mode _New_mode) |
|
void | _Unset_discard_flag (_Inout_ _View_info *_Info) |
|
bool | _Should_discard (const _View_info *_Info) const |
|
bool | _Has_exclusive_data (const _View_info *_Info) const |
|
bool | _Requires_update_on_target_accelerator_view (const _View_info *_Info, _Access_mode _Requested_mode, _In_ _Accelerator_view_impl *_Target_acclerator_view) const |
|
_Accelerator_view_unordered_set | _Get_caching_info (_In_ _View_key _Key, _Out_opt_ bool *_Can_access_anywhere=NULL) |
|
_Accelerator_view_unordered_set | _Get_caching_info_impl (_In_ _View_key _Key, _Out_opt_ bool *_Can_access_anywhere) |
|
_Ret_ _Accelerator_view_impl * | _Determine_alternate_target_accelerator_view (_In_ _View_key _Key, _In_ _Accelerator_view_impl *_Original_av, _Access_mode _Mode) |
|
Concurrency::details::_Ubiquitous_buffer::_Ubiquitous_buffer |
( |
size_t |
_Num_elems, |
|
|
size_t |
_Elem_size |
|
) |
| |
|
private |
Concurrency::details::_Ubiquitous_buffer::_Ubiquitous_buffer |
( |
_In_ _Buffer * |
_Master_buffer | ) |
|
|
private |
Concurrency::details::_Ubiquitous_buffer::~_Ubiquitous_buffer |
( |
| ) |
|
|
private |
Concurrency::details::_Ubiquitous_buffer::_Ubiquitous_buffer |
( |
| ) |
|
|
private |
Concurrency::details::_Ubiquitous_buffer::_Ubiquitous_buffer |
( |
const _Ubiquitous_buffer & |
rhs | ) |
|
|
private |
_Event Concurrency::details::_Ubiquitous_buffer::_Commit_view_async |
( |
_In_ _View_info * |
_Info, |
|
|
_Inout_ ULONGLONG * |
_Sync_size = nullptr |
|
) |
| |
|
private |
_Ret_ _Accelerator_view_impl* Concurrency::details::_Ubiquitous_buffer::_Determine_alternate_target_accelerator_view |
( |
_In_ _View_key |
_Key, |
|
|
_In_ _Accelerator_view_impl * |
_Original_av, |
|
|
_Access_mode |
_Mode |
|
) |
| |
|
private |
static void Concurrency::details::_Ubiquitous_buffer::_Flag_redundant_commits |
( |
std::vector< std::pair< _View_info *, bool >> & |
_Commit_list | ) |
|
|
staticprivate |
_Ret_ _Buffer* Concurrency::details::_Ubiquitous_buffer::_Get_buffer |
( |
_In_ _Accelerator_view_impl * |
_Av, |
|
|
bool |
_Create = true |
|
) |
| |
|
private |
_Ret_ _Accelerator_view_impl* Concurrency::details::_Ubiquitous_buffer::_Get_master_accelerator_view_impl |
( |
| ) |
const |
|
inline |
_Accelerator_view_impl_ptr _M_master_av
Definition: amprt.h:3408
_AMPIMP _Buffer_ptr Concurrency::details::_Ubiquitous_buffer::_Get_master_buffer |
( |
| ) |
const |
size_t Concurrency::details::_Ubiquitous_buffer::_Get_master_buffer_elem_size |
( |
| ) |
const |
|
inline |
size_t _M_master_buffer_elem_size
Definition: amprt.h:3415
size_t Concurrency::details::_Ubiquitous_buffer::_Get_master_buffer_num_elems |
( |
| ) |
const |
|
inline |
size_t _M_master_buffer_num_elems
Definition: amprt.h:3418
bool Concurrency::details::_Ubiquitous_buffer::_Has_data_source |
( |
| ) |
const |
|
inline |
bool _M_has_data_source
Definition: amprt.h:3421
bool Concurrency::details::_Ubiquitous_buffer::_Has_exclusive_data |
( |
const _View_info * |
_Info | ) |
const |
|
private |
bool Concurrency::details::_Ubiquitous_buffer::_Requires_update_on_target_accelerator_view |
( |
const _View_info * |
_Info, |
|
|
_Access_mode |
_Requested_mode, |
|
|
_In_ _Accelerator_view_impl * |
_Target_acclerator_view |
|
) |
| const |
|
private |
void Concurrency::details::_Ubiquitous_buffer::_Set_new_access_mode |
( |
_Inout_ _View_info * |
_Info, |
|
|
_Access_mode |
_New_mode |
|
) |
| |
|
private |
bool Concurrency::details::_Ubiquitous_buffer::_Should_discard |
( |
const _View_info * |
_Info | ) |
const |
|
private |
void Concurrency::details::_Ubiquitous_buffer::_Unset_discard_flag |
( |
_Inout_ _View_info * |
_Info | ) |
|
|
private |
_Check_return_ _In_ int _Mode
Definition: io.h:338
_Ret_ _View_key _Get_view_key()
Definition: amprt.h:532
_Ret_ _Ubiquitous_buffer * _Get_buffer_ptr() const __CPU_ONLY
Definition: amprt.h:497
friend _Event _Get_access_async(const _View_key _Key, accelerator_view _Av, _Access_mode _Mode, _Buffer_ptr &_Buf_ptr)
Definition: amprt.h:3457
bool Concurrency::details::_Ubiquitous_buffer::_M_has_data_source |
|
private |
_Buffer* Concurrency::details::_Ubiquitous_buffer::_M_master_buffer |
|
private |
size_t Concurrency::details::_Ubiquitous_buffer::_M_master_buffer_elem_size |
|
private |
size_t Concurrency::details::_Ubiquitous_buffer::_M_master_buffer_num_elems |
|
private |
std::unordered_set<_View_info*> Concurrency::details::_Ubiquitous_buffer::_M_view_info_set |
|
private |
std::unordered_map<_View_key, _View_info*> Concurrency::details::_Ubiquitous_buffer::_M_view_map |
|
private |
The documentation for this class was generated from the following file: