libhsakmt: add runtime enable and disable calls

Add hsaKmtRuntimeEnable and disable.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Change-Id: I083f9293948e975546a1b3c1334cb41499b9ab1f


[ROCm/ROCR-Runtime commit: 1ce548829b]
This commit is contained in:
Jonathan Kim
2021-05-25 11:13:48 -04:00
committed by Jonathan Kim
parent 1001f27cb5
commit 6c4717ae7a
3 changed files with 77 additions and 0 deletions
+11
View File
@@ -633,6 +633,17 @@ hsaKmtDbgAddressWatch(
HsaEvent* WatchEvent[] //IN, optional
);
HSAKMT_STATUS
HSAKMTAPI
hsaKmtRuntimeEnable(
void* rDebug, // IN
bool setupTtmp
);
HSAKMT_STATUS
HSAKMTAPI
hsaKmtRuntimeDisable(void);
/**
Get the major and minor version of the kernel debugger support.
*/