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
Этот коммит содержится в:
Jonathan Kim authored and Jonathan Kim committed 2021-07-16 18:36:18 -04:00
1 родитель 96c7a5c9dc
Коммит 31ac82617c
5 files changed
+322 -972

No files matched your search

+15
Просмотреть файл
@@ -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