KhronosGroup / Vulkan-Docs

The Vulkan API Specification and related tools
Other
2.81k stars 469 forks source link

Queue global priority question #1398

Open konstantinegorov opened 4 years ago

konstantinegorov commented 4 years ago

Why there is no way to set global priority for queue, not for queue family? Is it hardware limitation? Maybe the driver should report a several queue families with same capabilities, but with hint about priority support. For example, a two compute queue families, one with low priority, another with medium. There is another problem. The spec says that there is no guarante that queue with a higher priority will preempt a lower priority queue. Because of this, I cannot rely on queue priority when scheduling background tasks. I think, the driver should give information about priority support.

oddhack commented 3 years ago

We have discussed this internally and at present, nobody feels enough urgency about this to propose a solution, so it will remain unaddressed for the time being. We'll keep the issue open in case an important use case comes up, but you should not expect a near-term solution.