kfdtest: Evaluate whether a node is APU based on spec

This will facilitate the user cases that some APU asics is used as dGPU.

Change-Id: Ib3a79ae31a03e7a618c7785166f56282a7617127
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Esse commit está contido em:
Yong Zhao
2018-08-01 18:33:22 -04:00
commit f3e7870784
+1 -1
Ver Arquivo
@@ -106,7 +106,7 @@ unsigned int FamilyIdFromNode(const HsaNodeProperties *props) {
break;
}
if (familyId == FAMILY_KV || familyId == FAMILY_CZ || familyId == FAMILY_RV)
if (props->NumCPUCores && props->NumFComputeCores)
is_dgpu_dev = false;
else
is_dgpu_dev = true;