oneapi-src / oneapi-src/level-zero
[question] How to know if there are pending commands in a command list/queue
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 335
- Forks
- 140
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 5
Description
Is there any way to know if a particular command list has pending commands to execute before executing or synchronizing?
What I am looking for, is an API call that returns boolean if there is anything pending in a command list before invoking the next two functions.
zeCommandQueueExecuteCommandLists(commandQueueId, ... )
zeCommandQueueSynchronize(comanndQueueId)
Is there anything like that?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the command queue API around zeCommandQueueExecuteCommandLists and zeCommandQueueSynchronize. Determine whether the existing API exposes pending-command state; no file or test is named, and done would require a clear answer about an available query or the behavior needed if one does not exist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100