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
@@ -1461,13 +1461,15 @@ TEST_P(KFDSVMRangeTest, HMMProfilingEvent) {
int defaultGPUNode = m_NodeInfo.HsaDefaultGPUNode();
ASSERT_GE(defaultGPUNode, 0) << "failed to get default GPU Node";
if (!GetVramSize(defaultGPUNode)) {
LOG() << "Skipping test: No VRAM found." << std::endl;
const HsaNodeProperties *pNodeProperties = m_NodeInfo.HsaDefaultGPUNodeProperties();
if (pNodeProperties->Integrated) {
LOG() << "Skipping test on APU." << std::endl;
return;
}
if (m_NodeInfo.IsAppAPU(defaultGPUNode)) {
LOG() << "Skipping test on AppAPU." << std::endl;
if (!GetVramSize(defaultGPUNode)) {
LOG() << "Skipping test: No VRAM found." << std::endl;
return;
}