#include <amprt.h>
|
static _AMPIMP _Ret_ _Buffer *__cdecl | _Create_buffer (accelerator_view _Accelerator_view, accelerator_view _Access_on_accelerator_view, size_t _Num_elems, size_t _Elem_size, bool _Is_temp=false, access_type _Cpu_access_type=access_type_auto) |
|
static _AMPIMP _Ret_ _Buffer *__cdecl | _Create_buffer (_In_ void *_Data_ptr, accelerator_view _Accelerator_view, size_t _Num_elems, size_t _Elem_size) |
|
static _AMPIMP _Ret_ _Buffer *__cdecl | _Create_stage_buffer (accelerator_view _Accelerator_view, accelerator_view _Access_on_accelerator_view, size_t _Num_elems, size_t _Elem_size, bool _Is_temp=false) |
|
static _AMPIMP _Ret_ _Buffer *__cdecl | _Get_temp_staging_buffer (accelerator_view _Av, size_t _Requested_num_elems, size_t _Elem_size) |
|
|
| _Buffer (_In_ _Accelerator_view_impl *_Av, _In_ void *_Buffer_data_ptr, _In_ void *_Host_ptr, _Access_mode _Allowed_host_access_mode, _Access_mode _Current_host_access_mode, size_t _Num_elems, size_t _Elem_size, bool _Owns_data, bool _Is_staging, bool _Is_temp, bool _Is_adopted) |
|
virtual | ~_Buffer () |
|
| _Buffer () |
|
| _Buffer (const _Buffer &rhs) |
|
_Buffer & | operator= (const _Buffer &rhs) |
|
void | _Set_host_ptr (_In_ void *_Host_ptr, _Access_mode _Host_access_mode=_No_access) |
|
void | _Set_data_ptr (_In_ IUnknown *_Data_ptr) |
|
Concurrency::details::_Buffer::_Buffer |
( |
_In_ _Accelerator_view_impl * |
_Av, |
|
|
_In_ void * |
_Buffer_data_ptr, |
|
|
_In_ void * |
_Host_ptr, |
|
|
_Access_mode |
_Allowed_host_access_mode, |
|
|
_Access_mode |
_Current_host_access_mode, |
|
|
size_t |
_Num_elems, |
|
|
size_t |
_Elem_size, |
|
|
bool |
_Owns_data, |
|
|
bool |
_Is_staging, |
|
|
bool |
_Is_temp, |
|
|
bool |
_Is_adopted |
|
) |
| |
|
protected |
virtual Concurrency::details::_Buffer::~_Buffer |
( |
| ) |
|
|
protectedvirtual |
Concurrency::details::_Buffer::_Buffer |
( |
| ) |
|
|
protected |
Concurrency::details::_Buffer::_Buffer |
( |
const _Buffer & |
rhs | ) |
|
|
protected |
_AMPIMP bool Concurrency::details::_Buffer::_Exclusively_owns_data |
( |
| ) |
|
_Ret_ _Accelerator_view_impl* Concurrency::details::_Buffer::_Get_accelerator_view_impl |
( |
| ) |
const |
|
inline |
_Accelerator_view_impl_ptr _M_accelerator_view
Definition: amprt.h:2205
_Ret_ _Accelerator_view_impl* Concurrency::details::_Buffer::_Get_access_on_accelerator_view_impl |
( |
| ) |
const |
|
inline |
_Accelerator_view_impl_ptr _M_access_on_accelerator_view
Definition: amprt.h:2206
_Access_mode Concurrency::details::_Buffer::_Get_allowed_host_access_mode |
( |
| ) |
const |
|
inline |
_Access_mode _M_allowed_host_access_mode
Definition: amprt.h:2209
access_type Concurrency::details::_Buffer::_Get_allowed_host_access_type |
( |
| ) |
const |
|
inline |
access_type _Get_cpu_access_type(_Access_mode _Cpu_access_mode)
Definition: amprt.h:2021
_Access_mode _M_allowed_host_access_mode
Definition: amprt.h:2209
_Access_mode Concurrency::details::_Buffer::_Get_current_host_access_mode |
( |
| ) |
const |
|
inline |
_Access_mode _M_current_host_access_mode
Definition: amprt.h:2210
_Ret_ void* Concurrency::details::_Buffer::_Get_data_ptr |
( |
| ) |
const |
|
inline |
void * _M_data_ptr
Definition: amprt.h:2207
size_t Concurrency::details::_Buffer::_Get_elem_size |
( |
| ) |
const |
|
inline |
size_t _M_elem_size
Definition: amprt.h:2211
_Ret_ void* Concurrency::details::_Buffer::_Get_host_ptr |
( |
| ) |
const |
|
inline |
void * _M_host_ptr
Definition: amprt.h:2208
size_t Concurrency::details::_Buffer::_Get_num_elems |
( |
| ) |
const |
|
inline |
size_t _M_num_elems
Definition: amprt.h:2212
bool Concurrency::details::_Buffer::_Is_adopted |
( |
| ) |
const |
|
inline |
bool _M_is_adopted
Definition: amprt.h:2219
bool Concurrency::details::_Buffer::_Is_buffer |
( |
| ) |
const |
|
inline |
bool _M_is_buffer
Definition: amprt.h:2220
bool Concurrency::details::_Buffer::_Is_host_accessible |
( |
_Access_mode |
_Requested_access_mode | ) |
const |
|
inline |
_Access_mode _Get_allowed_host_access_mode() const
Definition: amprt.h:2132
_AMPIMP bool Concurrency::details::_Buffer::_Is_mappable |
( |
| ) |
const |
bool Concurrency::details::_Buffer::_Is_staging |
( |
| ) |
const |
|
inline |
bool _M_is_staging
Definition: amprt.h:2214
bool Concurrency::details::_Buffer::_Is_temp |
( |
| ) |
const |
|
inline |
bool _M_is_temp
Definition: amprt.h:2217
bool Concurrency::details::_Buffer::_Owns_data |
( |
| ) |
const |
|
inline |
bool _M_owns_data
Definition: amprt.h:2213
void Concurrency::details::_Buffer::_Set_data_ptr |
( |
_In_ IUnknown * |
_Data_ptr | ) |
|
|
inlineprotected |
void * _M_data_ptr
Definition: amprt.h:2207
2191 if (_Host_ptr ==
NULL) {
#define NULL
Definition: crtdbg.h:30
#define _ASSERTE(expr)
Definition: crtdbg.h:216
_Access_mode _M_current_host_access_mode
Definition: amprt.h:2210
void * _M_host_ptr
Definition: amprt.h:2208
_AMPIMP void Concurrency::details::_Buffer::_Unmap_buffer |
( |
| ) |
|
_Buffer& Concurrency::details::_Buffer::operator= |
( |
const _Buffer & |
rhs | ) |
|
|
protected |
friend class _CPU_accelerator_view_impl |
|
friend |
friend class _D3D_accelerator_view_impl |
|
friend |
friend class _D3D_temp_staging_cache |
|
friend |
_Access_mode Concurrency::details::_Buffer::_M_allowed_host_access_mode |
|
protected |
_Access_mode Concurrency::details::_Buffer::_M_current_host_access_mode |
|
protected |
void* Concurrency::details::_Buffer::_M_data_ptr |
|
protected |
size_t Concurrency::details::_Buffer::_M_elem_size |
|
protected |
void* Concurrency::details::_Buffer::_M_host_ptr |
|
protected |
bool Concurrency::details::_Buffer::_M_is_adopted |
|
protected |
bool Concurrency::details::_Buffer::_M_is_buffer |
|
protected |
bool Concurrency::details::_Buffer::_M_is_staging |
|
protected |
bool Concurrency::details::_Buffer::_M_is_temp |
|
protected |
size_t Concurrency::details::_Buffer::_M_num_elems |
|
protected |
bool Concurrency::details::_Buffer::_M_owns_data |
|
protected |
std::unique_ptr<std::unordered_set<_View_key> > Concurrency::details::_Buffer::_M_view_keys |
|
private |
The documentation for this class was generated from the following file: