|
|
| AmPointerInfo (void *hostPointer, void *devicePointer, void *unalignedDevicePointer, std::size_t sizeBytes, hc::accelerator &acc, bool isInDeviceMem=false, bool isAmManaged=false) |
| |
|
AmPointerInfo & | operator= (const AmPointerInfo &other) |
| |
|
|
void * | _hostPointer |
| | Host pointer. If host access is not allowed, NULL.
|
| |
|
void * | _devicePointer |
| | Device pointer.
|
| |
|
void * | _unalignedDevicePointer |
| | Unaligned device pointer.
|
| |
|
std::size_t | _sizeBytes |
| | Size of allocation.
|
| |
|
hc::accelerator | _acc |
| | Accelerator where allocation is physically located.
|
| |
|
bool | _isInDeviceMem |
| | Memory is physically resident on a device (if false, memory is located on host)
|
| |
|
bool | _isAmManaged |
| | Memory was allocated by AM and should be freed when am_reset is called.
|
| |
|
uint64_t | _allocSeqNum |
| | Sequence number of allocation.
|
| |
|
int | _appId |
| | App-specific storage. (Used by HIP to store deviceID)
|
| |
|
unsigned | _appAllocationFlags |
| | App-specific allocation flags. (Used by HIP to store allocation flags)
|
| |
|
void * | _appPtr |
| | App-specific pointer to additional information.
|
| |
The documentation for this class was generated from the following file: