hipMemPoolProps Struct Reference

hipMemPoolProps Struct Reference#

HIP Runtime API Reference: hipMemPoolProps Struct Reference
hipMemPoolProps Struct Reference

#include <hip_runtime_api.h>

Collaboration diagram for hipMemPoolProps:
[legend]

Data Fields

hipMemAllocationType allocType
 Allocation type. Currently must be specified as hipMemAllocationTypePinned.
 
hipMemAllocationHandleType handleTypes
 Handle types that will be supported by allocations from the pool.
 
hipMemLocation location
 Location where allocations should reside.
 
void * win32SecurityAttributes
 
unsigned char reserved [64]
 Reserved for future use, must be 0.
 

Detailed Description

Specifies the properties of allocations made from the pool.

Field Documentation

◆ allocType

hipMemAllocationType hipMemPoolProps::allocType

Allocation type. Currently must be specified as hipMemAllocationTypePinned.

◆ handleTypes

hipMemAllocationHandleType hipMemPoolProps::handleTypes

Handle types that will be supported by allocations from the pool.

◆ location

hipMemLocation hipMemPoolProps::location

Location where allocations should reside.

◆ reserved

unsigned char hipMemPoolProps::reserved[64]

Reserved for future use, must be 0.

◆ win32SecurityAttributes

void* hipMemPoolProps::win32SecurityAttributes

Windows-specific LPSECURITYATTRIBUTES required when hipMemHandleTypeWin32 is specified


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-5.6.0/include/hip/hip_runtime_api.h