SWDEV-322620 - Virtual Memory Management APIs (#2621)
Updated hipMemAllocationProp structure
Change-Id: I7d56ddda5e2dd34c43ad70143b8faa14b6573672
[ROCm/hip commit: d267eb7d68]
This commit is contained in:
committed by
GitHub
parent
903b30779c
commit
92d1331165
@@ -6177,12 +6177,15 @@ hipError_t hipGraphExecEventWaitNodeSetEvent(hipGraphExec_t hGraphExec, hipGraph
|
||||
* Memory allocation properties
|
||||
*/
|
||||
typedef struct hipMemAllocationProp {
|
||||
unsigned char compressionType; ///< Compression type
|
||||
hipMemLocation location; ///< Memory location
|
||||
hipMemAllocationHandleType requestedHandleType; ///< Requested handle type
|
||||
hipMemAllocationType type; ///< Memory allocation type
|
||||
unsigned short usage; ///< Usage
|
||||
hipMemAllocationHandleType requestedHandleType; ///< Requested handle type
|
||||
hipMemLocation location; ///< Memory location
|
||||
void* win32HandleMetaData; ///< Metadata for Win32 handles
|
||||
struct {
|
||||
unsigned char compressionType; ///< Compression type
|
||||
unsigned char gpuDirectRDMACapable; ///< RDMA capable
|
||||
unsigned short usage; ///< Usage
|
||||
} allocFlags;
|
||||
} hipMemAllocationProp;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user