Extend ROCr to surface UUID of GPU devices that suppport

Change-Id: I478db68d69a01578770403fa695f9e6391637573
Bu işleme şunda yer alıyor:
Ramesh Errabolu
2020-03-05 13:44:22 -06:00
işlemeyi yapan: Sean Keely
ebeveyn 241cdfdd01
işleme 45958c727d
7 değiştirilmiş dosya ile 61 ekleme ve 5 silme
+11 -1
Dosyayı Görüntüle
@@ -163,7 +163,17 @@ typedef enum hsa_amd_agent_info_s {
* Queries for support of cooperative queues. See ::HSA_QUEUE_TYPE_COOPERATIVE.
* The type of this attribute is bool.
*/
HSA_AMD_AGENT_INFO_COOPERATIVE_QUEUES = 0xA010
HSA_AMD_AGENT_INFO_COOPERATIVE_QUEUES = 0xA010,
/**
* Queries UUID of an agent. The value is an Ascii string with a maximum
* of 21 chars including NUL. The string value consists of two parts: header
* and body. The header identifies device type (GPU, CPU, DSP) while body
* encodes UUID as a 16 digit hex string
*
* Agents that do not support UUID will return the string "GPU-XX" or
* "CPU-XX" or "DSP-XX" depending upon their device type ::hsa_device_type_t
*/
HSA_AMD_AGENT_INFO_UUID = 0xA011
} hsa_amd_agent_info_t;
typedef struct hsa_amd_hdp_flush_s {