libhsakmt: update thunk api for exception handling

The debugger and debug agent no longer use the Thunk API.
Remove all deprecated functions and keep commented
references for future KFD tests.

Update and the keep the version checks for future use
and hsaKmtRuntimeEnable/Disable.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Laurent Morichetti <laurent.morichetti@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Change-Id: Ia2f10d82f5ac36d0bd1bda233810f26e8a154d55
Šī revīzija ir iekļauta:
Jonathan Kim
2021-05-25 11:14:26 -04:00
revīziju iesūtīja Jonathan Kim
vecāks 96c7a5c9dc
revīzija 31ac82617c
5 mainīti faili ar 324 papildinājumiem un 974 dzēšanām
+15
Parādīt failu
@@ -285,6 +285,8 @@ TEST_F(KFDDBGTest, BasicAddressWatch) {
}
#endif
#if 0
// Deprecated - Reference Use Only
/**
* checkDebugVersion:
* Inputs:
@@ -333,7 +335,10 @@ static bool checkDebugVersion(HSAuint32 requiredMajor, HSAuint32 requiredMinor)
return true;
}
#endif
#if 0
// Deprecated - Reference Use Only
TEST_F(KFDDBGTest, BasicDebuggerSuspendResume) {
TEST_START(TESTPROFILE_RUNALL)
if (m_FamilyId >= FAMILY_AI) {
@@ -431,7 +436,10 @@ exit:
LOG() << std::endl;
TEST_END
}
#endif
#if 0
// Deprecated - Reference Use Only
TEST_F(KFDDBGTest, BasicDebuggerQueryQueueStatus) {
TEST_START(TESTPROFILE_RUNALL)
if (m_FamilyId >= FAMILY_AI) {
@@ -574,8 +582,11 @@ exit:
LOG() << std::endl;
TEST_END
}
#endif
#if 0
// clean up routine
// Deprecated - Reference Use Only
static void ExitVMFaultQueryChild(std::string errMsg,
int exitStatus,
HSAint32 pollFd,
@@ -613,7 +624,10 @@ static void ExitVMFaultQueryChild(std::string errMsg,
exit(exitStatus);
}
#endif
#if 0
// Deprecated - Reference Use Only
TEST_F(KFDDBGTest, BasicDebuggerQueryVMFaultQueueStatus) {
TEST_START(TESTPROFILE_RUNALL)
if (m_FamilyId >= FAMILY_AI) {
@@ -811,3 +825,4 @@ exit:
LOG() << std::endl;
TEST_END
}
#endif