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
This commit is contained in:
committed by
Jonathan Kim
parent
96c7a5c9dc
commit
31ac82617c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user