Add agent query for nearest CPU agent
Add agent info query to return nearest CPU agent. This can be used to determine which CPU agent is in the same NUMA region as the GPU agent. Change-Id: I5400b4347ffbf4d2a836df31c4de443a38b0ecd1
Šī revīzija ir iekļauta:
1 vecāks
0d14144e3a
revīzija
469defa78a
4 files changed
+29
-13
No files matched your search
@@ -399,7 +399,12 @@ typedef enum hsa_amd_agent_info_s {
|
||||
* Queries for driver unique identifier.
|
||||
* The type of this attribute is uint32_t.
|
||||
*/
|
||||
HSA_AMD_AGENT_INFO_DRIVER_UID = 0xA112
|
||||
HSA_AMD_AGENT_INFO_DRIVER_UID = 0xA112,
|
||||
/**
|
||||
* Returns the hsa_agent_t of the nearest CPU agent
|
||||
* The type of this attribute is hsa_agent_t.
|
||||
*/
|
||||
HSA_AMD_AGENT_INFO_NEAREST_CPU = 0xA113
|
||||
} hsa_amd_agent_info_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user