SWDEV-558848 - vmm api support for rocr on windows (#1761)
* SWDEV-558848 - vmm api support for rocr on windows * Fixes to VMM handle Map/Unmap Set/Get Access * Fix GetShareableHandle to use pointer for shareable handle * Update os specific map/unmap memory calls * clang format update * Minor syntax fixes from code review Co-authored-by: Yiannis Papadopoulos <102817138+ypapadop-amd@users.noreply.github.com> --------- Co-authored-by: Rahul Manocha <rmanocha@amd.com> Co-authored-by: Yiannis Papadopoulos <102817138+ypapadop-amd@users.noreply.github.com>
Tento commit je obsažen v:
@@ -547,6 +547,17 @@ hsaKmtExportDMABufHandle(
|
||||
HSAuint64 *Offset //OUT
|
||||
);
|
||||
|
||||
/**
|
||||
Export GPU Memory handle
|
||||
*/
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtGetMemoryHandle(
|
||||
void* MemoryAddress, // IN
|
||||
HSAuint64 SizeInBytes, // IN
|
||||
uint64_t* SharedMemoryHandle // OUT
|
||||
);
|
||||
|
||||
/**
|
||||
Export a memory buffer for sharing with other processes
|
||||
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele