Skip to content

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

Open
gmlueck wants to merge 1 commit into
KhronosGroup:mainfrom
gmlueck:me/in-order-query
Open

gmlueck wants to merge 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.
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