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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user