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 descriptor mandatory #2676

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Feb 7, 2025

As discussed in #2670 (comment) the pCommandBufferDesc parameter to urCommandBufferCreateExp is optional. However, the UR spec doesn't state what the configuration of the created command-buffer is when this isn't passed, and being optional is also inconsistent with the description parameters to urSamplerCreate & urMemImageCreate which are not optional. This PR updates the descriptor parameter to command-buffer creation to be mandatory to address these concerns.

Closes #2673
DPC++ PR intel/llvm#16937

@github-actions github-actions bot added loader Loader related feature/bug specification Changes or additions to the specification experimental Experimental feature additions/changes/specification level-zero L0 adapter specific issues cuda CUDA adapter specific issues hip HIP adapter specific issues opencl OpenCL adapter specific issues command-buffer Command Buffer feature addition/changes/specification labels Feb 7, 2025
@EwanC EwanC force-pushed the ewan/command-buffer_desc branch 2 times, most recently from 12e0e79 to 78d089c Compare February 7, 2025 17:06
@github-actions github-actions bot added the conformance Conformance test suite issues. label Feb 7, 2025
EwanC added a commit to EwanC/llvm that referenced this pull request Feb 10, 2025
Bumps to UR tag to pull in UR change from oneapi-src/unified-runtime#2676
No DPC++ changes are required as `graph_impl.cpp` already unconditionally
passes a descriptor on UR command-buffer creation.
@EwanC EwanC marked this pull request as ready for review February 10, 2025 08:38
@EwanC EwanC requested review from a team as code owners February 10, 2025 08:38
@EwanC EwanC requested a review from fabiomestre February 10, 2025 08:38
@EwanC EwanC force-pushed the ewan/command-buffer_desc branch from 78d089c to e23d115 Compare February 12, 2025 13:00
EwanC added a commit to EwanC/llvm that referenced this pull request Feb 12, 2025
Bumps to UR tag to pull in UR change from oneapi-src/unified-runtime#2676
No DPC++ changes are required as `graph_impl.cpp` already unconditionally
passes a descriptor on UR command-buffer creation.
@EwanC EwanC added the ready to merge Added to PR's which are ready to merge label 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 conformance Conformance test suite issues. cuda CUDA adapter specific issues experimental Experimental feature additions/changes/specification hip HIP adapter specific issues level-zero L0 adapter specific issues loader Loader related feature/bug opencl OpenCL adapter specific issues ready to merge Added to PR's which are ready to merge specification Changes or additions to the specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make command-buffer creation description parameter not optional
3 participants