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:
@@ -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;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário