Adding queue information queries
New hsa_amd_queue_get_info API to support:
- HSA_AMD_QUEUE_INFO_AGENT: Agent that owns the underlying HW queue
- HSA_AMD_QUEUE_INFO_DOORBELL_ID: KFD doorbell ID of the queue
completion signal.
Change-Id: I98842131bcbdd08552649791a5d43e578a615808
[ROCm/ROCR-Runtime commit: d6d5786051]
This commit is contained in:
@@ -1298,6 +1298,11 @@ hsa_status_t HSA_API hsa_amd_agent_set_async_scratch_limit(hsa_agent_t agent, si
|
||||
return amdExtTable->hsa_amd_agent_set_async_scratch_limit_fn(agent, threshold);
|
||||
}
|
||||
|
||||
hsa_status_t HSA_API hsa_amd_queue_get_info(hsa_queue_t* queue,
|
||||
hsa_queue_info_attribute_t attribute, void* value) {
|
||||
return amdExtTable->hsa_amd_queue_get_info_fn(queue, attribute, value);
|
||||
}
|
||||
|
||||
// Tools only table interfaces.
|
||||
namespace rocr {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user