Add distinguish for iommuv2/dgpu_fallback when getting gpuName
The memory tests between iommuv2 and dgpu_fallback are different.So it needs to ditinguish them. Change-Id: Icc64e9ae0fc1638c3d148795a5f247d9e5e8e503 Signed-off-by: changzhu <Changfeng.Zhu@amd.com>
This commit is contained in:
@@ -173,10 +173,16 @@ FILTER[vega20]=\
|
||||
"KFDEvictTest.BurstyTest:"\
|
||||
"KFDQMTest.GPUDoorbellWrite"
|
||||
|
||||
FILTER[raven_dgpuFallback]=\
|
||||
"$BLACKLIST_ALL_ASICS:"\
|
||||
"KFDMemoryTest.MMBench:"\
|
||||
"KFDMemoryTest.MemoryRegister:"\
|
||||
"KFDQMTest.SdmaConcurrentCopies"
|
||||
|
||||
FILTER[raven]=\
|
||||
"$BLACKLIST_ALL_ASICS:"\
|
||||
"KFDQMTest.QueueLatency:"\
|
||||
"KFDQMTest.SdmaEventInterrupt"
|
||||
"KFDQMTest.SdmaConcurrentCopies:"\
|
||||
"KFDQMTest.MultipleCpQueuesStressDispatch"
|
||||
|
||||
FILTER[renoir]=\
|
||||
"$BLACKLIST_ALL_ASICS:"\
|
||||
|
||||
@@ -144,6 +144,13 @@ getHsaNodes() {
|
||||
getNodeName() {
|
||||
local nodeId=$1; shift;
|
||||
local gpuName=$(cat $TOPOLOGY_SYSFS_DIR/$nodeId/name)
|
||||
if [ "$gpuName" == "raven" ]; then
|
||||
local CpuCoresCount=$(cat $TOPOLOGY_SYSFS_DIR/$nodeId/properties | grep cpu_cores_count | awk '{print $2}')
|
||||
local SimdCount=$(cat $TOPOLOGY_SYSFS_DIR/$nodeId/properties | grep simd_count | awk '{print $2}')
|
||||
if [ "$CpuCoresCount" -eq 0 ] && [ "$SimdCount" -gt 0 ]; then
|
||||
gpuName="raven_dgpuFallback"
|
||||
fi
|
||||
fi
|
||||
echo "$gpuName"
|
||||
}
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user