Skip to content

Generalize definition of "queue::is_in_order" - #1076

Merged
gmlueck merged 1 commit into
KhronosGroup:mainfrom
gmlueck:me/in-order-query
Nov 5, 2026
Merged

gmlueck merged 1 commit into
KhronosGroup:mainfrom
gmlueck:me/in-order-query

Conversation

@gmlueck

@gmlueck gmlueck commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Change the definition of queue::is_in_order to be more general by returning true whenever the queue is in-order. This is exactly identical to its current definition in the core SYCL 2020 language because the only way to create an in-order queue is via the in_order property.

However, this helps with the proposed KHR in #980 because that KHR will add a new property that also makes the queue in-order.

Change the definition of `queue::is_in_order` to be more general by
returning `true` whenever the queue is in-order.  This is exactly
identical to its current definition in the core SYCL 2020 language
because the only way to create an in-order queue is via the `in_order`
property.

However, this helps with the proposed KHR in KhronosGroup#980 because that KHR
will add a new property that also makes the queue in-order.
@TApplencourt

Copy link
Copy Markdown
Contributor

(on a side note, it's "funny" that we have empy() but this is IS_in_order() and not in_order() )

@TApplencourt

TApplencourt commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Enough reviewer, can be merged as SYCL 2020 clarification

@gmlueck
gmlueck merged commit d48b84f into KhronosGroup:main Nov 5, 2026
3 checks passed
gmlueck added a commit that referenced this pull request Nov 6, 2026
Cherry pick #1076 from main
(cherry picked from commit d48b84f)
@gmlueck
gmlueck deleted the me/in-order-query branch November 20, 2026 13:23
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.

4 participants