kfdtest: Skip KFDEvictTest, KDFSVMEvictTest, HMMProfilingEvent on small APU

Small APUs use same memory allocation approach with APP APU now,
skip these tests as well.

Change-Id: I13c953cc53da071f6f36af0d4a0153a48ea066fe
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Signed-off-by: Chris Freehill <cfreehil@amd.com>
This commit is contained in:
Lang Yu
2024-05-03 22:48:46 +08:00
committed by Chris Freehill
parent ae3ede062f
commit 5eb2a2660c
3 changed files with 22 additions and 14 deletions
@@ -240,8 +240,10 @@ TEST_P(KFDSVMEvictTest, BasicTest) {
ASSERT_GE(defaultGPUNode, 0) << "failed to get default GPU Node";
HSAuint64 vramBufSize = ALLOCATE_BUF_SIZE_MB * 1024 * 1024;
if (m_NodeInfo.IsAppAPU(defaultGPUNode)) {
LOG() << "Skipping test on AppAPU." << std::endl;
const HsaNodeProperties *pNodeProperties = m_NodeInfo.HsaDefaultGPUNodeProperties();
if (pNodeProperties->Integrated) {
LOG() << "Skipping test on APU." << std::endl;
return;
}
@@ -313,8 +315,8 @@ TEST_P(KFDSVMEvictTest, QueueTest) {
return;
}
if (m_NodeInfo.IsAppAPU(defaultGPUNode)) {
LOG() << "Skipping test on AppAPU." << std::endl;
if (pNodeProperties->Integrated) {
LOG() << "Skipping test on APU." << std::endl;
return;
}