Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[question] How to know if there are pending commands in a command list/queue

Open
#144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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?

Dominant language
C++
Stars
335
Forks
140
Avg merge
12h 32m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oneapi-src/level-zero

All issues in oneapi-src/level-zero

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.