Skip to content

Conversation

bashbaug
Copy link
Owner

see: KhronosGroup/OpenCL-Docs#1292

Adds support for recording a command buffer with an in-order queue, and replaying it with an out-of-order queue. In this case, explicit dependencies are added (via command queue barriers), to enforce the in-order behavior.

I will keep this as a draft until the spec changes are merged, at which time the reported extension version will need to be updated.

We require newer headers anyhow, so we may as well remove these
ifdefs to clean up the code a bit.
@bashbaug bashbaug marked this pull request as draft January 19, 2025 23:03
@EwanC
Copy link
Contributor

EwanC commented Feb 5, 2025

Hey Ben, have you tried this out with KhronosGroup/OpenCL-CTS#2230 ? The test_queue_substite_out_of_order test I added should stress the case of recording an in-order queue, and replaying it with an out-of-order queue.

@bashbaug
Copy link
Owner Author

bashbaug commented Feb 5, 2025

Hey Ben, have you tried this out with KhronosGroup/OpenCL-CTS#2230 ?

I hadn't - but I just gave this a try and the new tests are passing 👍

I'll leave a few comments on the PR and hopefully it can be merged soon. Thanks!

@bashbaug bashbaug marked this pull request as ready for review February 14, 2025 21:34
@bashbaug bashbaug merged commit 47c50ac into main Feb 27, 2025
12 checks passed
@bashbaug bashbaug deleted the cmdbuf-mixed-queues branch February 27, 2025 23:52
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.

2 participants