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>
这个提交包含在:
Yong Zhao 于 2018-08-02 11:36:40 -04:00 提交
1 父节点 86552aba4b
当前提交 f3e7870784
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -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;