hipMemAllocationProp Struct Reference

hipMemAllocationProp Struct Reference#

HIP Runtime API Reference: hipMemAllocationProp Struct Reference
hipMemAllocationProp Struct Reference

#include <hip_runtime_api.h>

Collaboration diagram for hipMemAllocationProp:
[legend]

Data Fields

hipMemAllocationType type
 Memory allocation type.
 
hipMemAllocationHandleType requestedHandleType
 Requested handle type.
 
hipMemLocation location
 Memory location.
 
void * win32HandleMetaData
 Metadata for Win32 handles.
 
struct { 
 
   unsigned char   compressionType 
 Compression type. More...
 
   unsigned char   gpuDirectRDMACapable 
 RDMA capable. More...
 
   unsigned short   usage 
 Usage. More...
 
allocFlags 
 

Detailed Description

Memory allocation properties

Field Documentation

◆ [struct]

struct { ... } hipMemAllocationProp::allocFlags

◆ compressionType

unsigned char hipMemAllocationProp::compressionType

Compression type.

◆ gpuDirectRDMACapable

unsigned char hipMemAllocationProp::gpuDirectRDMACapable

RDMA capable.

◆ location

hipMemLocation hipMemAllocationProp::location

Memory location.

◆ requestedHandleType

hipMemAllocationHandleType hipMemAllocationProp::requestedHandleType

Requested handle type.

◆ type

hipMemAllocationType hipMemAllocationProp::type

Memory allocation type.

◆ usage

unsigned short hipMemAllocationProp::usage

Usage.

◆ win32HandleMetaData

void* hipMemAllocationProp::win32HandleMetaData

Metadata for Win32 handles.


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