Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make command-buffer creation description parameter not optional #2673

Open
EwanC opened this issue Feb 7, 2025 · 1 comment · May be fixed by #2676
Open

Make command-buffer creation description parameter not optional #2673

EwanC opened this issue Feb 7, 2025 · 1 comment · May be fixed by #2676
Assignees
Labels
command-buffer Command Buffer feature addition/changes/specification

Comments

@EwanC
Copy link
Contributor

EwanC commented Feb 7, 2025

As discussed in #2670 (comment) the pCommandBufferDesc parameter to urCommandBufferCreateExp is optional. However, we don't specify what the configuration of the created command-buffer is when this isn't passed, and this is also inconsistent with the description parameters to urSamplerCreate & urMemImageCreate which are not optional.

This task is to update the command-buffer spec to make the description non-optional. Note that we always pass the desciptor parameter in the DPC++ callsite in graph_impl.cpp, so there should be no SYCL-RT changes required other than the UR commit bump.

@EwanC EwanC added the command-buffer Command Buffer feature addition/changes/specification label Feb 7, 2025
@EwanC EwanC self-assigned this Feb 7, 2025
EwanC added a commit to Bensuo/unified-runtime that referenced this issue Feb 7, 2025
@EwanC EwanC linked a pull request Feb 7, 2025 that will close this issue
EwanC added a commit to Bensuo/unified-runtime that referenced this issue Feb 7, 2025
EwanC added a commit to Bensuo/unified-runtime that referenced this issue Feb 7, 2025
@EwanC
Copy link
Contributor Author

EwanC commented Feb 10, 2025

PR with this change here #2676

EwanC added a commit to Bensuo/unified-runtime that referenced this issue Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-buffer Command Buffer feature addition/changes/specification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant