HIP: Heterogenous-computing Interface for Portability
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
StagingBuffer Struct Reference

Public Member Functions

 StagingBuffer (hsa_agent_t hsaAgent, hsa_region_t systemRegion, size_t bufferSize, int numBuffers)
 
void CopyHostToDevice (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
void CopyHostToDevicePinInPlace (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
void CopyDeviceToHost (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
void CopyDeviceToHostPinInPlace (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 

Static Public Attributes

static const int _max_buffers = 4
 

The documentation for this struct was generated from the following files: