Report domain with HsaNodeProperties

PCI domain has moved to 32-bits to accommodate virtualization,
so a 32-bit integer is exposed for domain to reflect this change.

Change-Id: I0d767acadcdc8e4277db203b5865dd67dd001cef
Signed-off-by: Ori Messinger <ori.messinger@amd.com>


[ROCm/ROCR-Runtime commit: f2173254e4]
Этот коммит содержится в:
Ori Messinger committed 2019-08-23 11:59:19 -04:00
1 родитель c9cc529a4f
Коммит 9eb9ce78fa
2 files changed
+4 -1

No files matched your search

+2 -1
Просмотреть файл
@@ -302,7 +302,8 @@ typedef struct _HsaNodeProperties
HSAuint32 NumSdmaEngines; // number of PCIe optimized SDMA engines
HSAuint32 NumSdmaXgmiEngines;// number of XGMI optimized SDMA engines
HSAuint32 NumGws; // number of GWS barriers
HSAuint8 Reserved[32];
HSAuint32 Domain; // PCI domain of the GPU
HSAuint8 Reserved[28];
} HsaNodeProperties;