libhsakmt: hsaKmtGetNodeProperties add gpu_id
Add KFDGpuID to HsaNodeProperties to return gpu_id to upper layer, gpu_id is hash ID generated by KFD to distinguish GPUs on the system. ROCr and ROCProfiler will use gpu_id to analyze SMI event message. Change-Id: I6eabe6849230e04120674f5bc55e6ea254a532d6 Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Tá an tiomantas seo le fáil i:
1 tuismitheoir
f7978b1ff6
tiomantas
88778e13dc
4 comhad athraithe
+18
-20
Níor tháinig aon chomhaid le do chuardach
@@ -328,7 +328,9 @@ typedef struct _HsaNodeProperties
|
||||
|
||||
HSAuint32 VGPRSizePerCU; // VGPR size in bytes per CU
|
||||
HSAuint32 SGPRSizePerCU; // SGPR size in bytes per CU
|
||||
HSAuint8 Reserved[12];
|
||||
|
||||
HSAuint32 KFDGpuID; // GPU Hash ID generated by KFD
|
||||
HSAuint8 Reserved[8];
|
||||
} HsaNodeProperties;
|
||||
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir