Add API entrypoints for Cross Memory Attach
Implement two new API for cross memory read and write operation. - hsaKmtProcessVMRead - hsaKmtProcessVMWrite Add new ioclts necessary for the above APIs. Change-Id: I0c153e3b4e1f32b7a8b102ad5c774d9ae9bfc2fa Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
This commit is contained in:
@@ -1008,6 +1008,11 @@ typedef struct _HsaPointerInfo {
|
||||
|
||||
typedef HSAuint32 HsaSharedMemoryHandle[8];
|
||||
|
||||
typedef struct _HsaMemoryRange {
|
||||
void *MemoryAddress; // Pointer to GPU memory
|
||||
HSAuint64 SizeInBytes; // Size of above memory
|
||||
} HsaMemoryRange;
|
||||
|
||||
#pragma pack(pop, hsakmttypes_h)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user