Add new definitions of HSA functions and types
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
[ROCm/ROCR-Runtime commit: d995344ae7]
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -40,6 +40,8 @@ hsaKmtPmcReleaseTraceAccess;
|
||||
hsaKmtPmcStartTrace;
|
||||
hsaKmtPmcQueryTrace;
|
||||
hsaKmtPmcStopTrace;
|
||||
hsaKmtMapGraphicHandle;
|
||||
hsaKmtUnmapGraphicHandle;
|
||||
|
||||
local: *;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user