This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

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. More...
 
hipMemAllocationHandleType requestedHandleType
 Requested handle type. 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

◆ 

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/develop/include/hip/hip_runtime_api.h