Add hsa_amd_queue_set_priority extension function

Controls dispatch and wavefront scheduling arbitration across quees.

Change-Id: I498f4898b544f79b8fb8514bf7e789ca9da29462
This commit is contained in:
Jay Cornwall
2018-06-19 14:00:46 -05:00
parent 6df6ef778d
commit e388a23344
12 changed files with 111 additions and 4 deletions
@@ -59,6 +59,9 @@ class HostQueue : public Queue {
~HostQueue();
hsa_status_t Inactivate() override { return HSA_STATUS_SUCCESS; }
hsa_status_t SetPriority(HSA_QUEUE_PRIORITY priority) override {
return HSA_STATUS_ERROR_INVALID_QUEUE;
}
uint64_t LoadReadIndexAcquire() override {
return atomic::Load(&amd_queue_.read_dispatch_id,