libhsakmt: add Integrated property
To differentiate discrete and integrated GPU more flexibly in runtime, this will aid in querying HSA_AMD_MEMORY_PROPERTY_AGENT_IS_APU and hipDeviceAttributeIntegrated. Change-Id: Ic8a6c9aea3b4bd19c4d5f6729af7e64c328fc61d Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Chris Freehill <cfreehil@amd.com>
Этот коммит содержится в:
1 родитель
9316b6e4e4
Коммит
ae3ede062f
2 files changed
+2
-1
No files matched your search
@@ -321,7 +321,7 @@ typedef struct _HsaNodeProperties
|
||||
HSAuint8 NumSdmaQueuesPerEngine;// number of SDMA queue per one engine
|
||||
HSAuint8 NumCpQueues; // number of Compute queues
|
||||
HSAuint8 NumGws; // number of GWS barriers
|
||||
HSAuint8 Reserved2;
|
||||
HSAuint8 Integrated; // 0 - discrete GPU, 1 - integrated GPU (including small APU and APP APU)
|
||||
|
||||
HSAuint32 Domain; // PCI domain of the GPU
|
||||
HSAuint64 UniqueID; // Globally unique immutable id
|
||||
|
||||
Reference in new issue
Block a user