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

[UR] Make command-buffer creation descriptor mandatory #17058

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Feb 19, 2025

As discussed in oneapi-src/unified-runtime#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 oneapi-src/unified-runtime#2673

Note: This UR patch was previously approved and ready-to-merge in oneapi-src/unified-runtime#2676 prior to the repo move

As discussed in oneapi-src/unified-runtime#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 oneapi-src/unified-runtime#2673
@EwanC EwanC force-pushed the command-buf_descriptor branch from 70d2694 to 0173bf6 Compare February 19, 2025 17:05
@EwanC
Copy link
Contributor Author

EwanC commented Feb 20, 2025

@intel/llvm-gatekeepers This is ready to merge thanks

@steffenlarsen steffenlarsen merged commit 69941b8 into intel:sycl Feb 20, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make command-buffer creation description parameter not optional
4 participants