Add new definitions of HSA functions and types

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: d995344ae7]
Esse commit está contido em:
Oded Gabbay
2014-10-20 08:48:28 +03:00
commit cb29071e77
2 arquivos alterados com 31 adições e 0 exclusões
+29
Ver Arquivo
@@ -405,6 +405,35 @@ hsaKmtUnmapMemoryToGPU(
);
/**
Notifies the kernel driver that a process wants to use GPU debugging facilities
*/
HSAKMT_STATUS
HSAKMTAPI
hsaKmtMapGraphicHandle(
HSAuint32 NodeId, //IN
HSAuint64 GraphicDeviceHandle, //IN
HSAuint64 GraphicResourceHandle, //IN
HSAuint64 GraphicResourceOffset, //IN
HSAuint64 GraphicResourceSize, //IN
HSAuint64* FlatMemoryAddress //OUT
);
/**
Stub for Unmap Graphic Handle
*/
HSAKMT_STATUS
HSAKMTAPI
hsaKmtUnmapGraphicHandle(
HSAuint32 NodeId, //IN
HSAuint64 FlatMemoryAddress, //IN
HSAuint64 SizeInBytes //IN
);
/**
Notifies the kernel driver that a process wants to use GPU debugging facilities
*/