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>
Tá an tiomantas seo le fáil i:
Yong Zhao tiomanta 2018-08-02 11:36:40 -04:00
1 tuismitheoir 86552aba4b
tiomantas f3e7870784
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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;