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>
Ta zmiana jest zawarta w:
%! (template.HTML=Yong Zhao)złożyło 2018-08-02 11:36:40 -04:00
1 rodzic 86552aba4b
złożenie f3e7870784
Plik 1 zmieniony
+1 -1
+1 -1
Wyświetl plik
@@ -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;