KhronosGroup / KhronosGroup/Vulkan-Docs

[enhancement] Add commands to cancel previous work

Open
#1,468 6 comments 1 reaction 0 assignees View on GitHub
Feature Request
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

There are usecases where it would be beneficial to cancel previous stale workload in the queue. That could improve latency, responsiveness, and save some watts.

I imagine it could be something like a `vkQueueCancelWork( VkQueue queue )`, which would be the same as `vkQueueWaitIdle` except it does not care if the work in the queue was executed. If this could be done at Fence granularity, then even better.

Is this something that would be feasible on some GPUs?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned. Start by reviewing the proposed queue and fence cancellation behavior and the surrounding Vulkan specification requirements; done would require an agreed API design and documented feasibility.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.