Add agent properties for Tools

Change-Id: I7bc49d35dc559f9c9058aae591b88c5ecc4b3ce5
This commit is contained in:
Ramesh Errabolu
2017-01-16 13:09:33 -06:00
parent f0263d8198
commit 8ab28d1a51
3 changed files with 34 additions and 1 deletions
+16 -1
View File
@@ -121,7 +121,22 @@ typedef enum hsa_amd_agent_info_s {
* Maximum number of waves possible in a Compute Unit.
* The type of this attribute is uint32_t.
*/
HSA_AMD_AGENT_INFO_MAX_WAVES_PER_CU = 0xA00A
HSA_AMD_AGENT_INFO_MAX_WAVES_PER_CU = 0xA00A,
/**
* Number of SIMD's per compute unit CU
* The type of this attribute is uint32_t.
*/
HSA_AMD_AGENT_INFO_NUM_SIMDS_PER_CU = 0xA00B,
/**
* Number of Shader Engines (SE) in Gpu
* The type of this attribute is uint32_t.
*/
HSA_AMD_AGENT_INFO_NUM_SHADER_ENGINES = 0xA00C,
/**
* Number of Shader Arrays Per Shader Engines in Gpu
* The type of this attribute is uint32_t.
*/
HSA_AMD_AGENT_INFO_NUM_SHADER_ARRAYS_PER_SE = 0xA00D
} hsa_amd_agent_info_t;
/**