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:
Rahul Manocha
2025-12-10 08:39:51 -08:00
odevzdal GitHub
rodič 465633d707
revize 0c1f87a7f6
15 změnil soubory, kde provedl 121 přidání a 52 odebrání
+11
Zobrazit soubor
@@ -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