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:

Data Fields

hipMemAllocationType type
 Memory allocation type. More...
 
union {
   hipMemAllocationHandleType   requestedHandleType
 Requested handle type. More...
 
   hipMemAllocationHandleType   requestedHandleTypes
 Requested handle types. More...
 
}; 
 
hipMemLocation location
 Memory location. More...
 
void * win32HandleMetaData
 Metadata for Win32 handles. More...
 
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

◆ 

union { ... }

◆ 

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.

◆ requestedHandleTypes

hipMemAllocationHandleType hipMemAllocationProp::requestedHandleTypes

Requested handle types.

◆ 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: