Skip to content

[SYCL] Fix handling of queue::in_order property #2140

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

Merged
merged 2 commits into from
Jul 20, 2020

Conversation

romanovvlad
Copy link
Contributor

Fixed one of the sycl::queue constructor was ignoring the
queue::in_order property.
Also did some refactoring so now queue_impl checks properties to
undrestand if in-order queue is required rather than relying on
flag which is passed to constructor.

Fixed one of the sycl::queue constructor was ignoring the
queue::in_order property.
Also did some refactoring so now queue_impl checks properties to
undrestand if in-order queue is required rather than relying on
flag which is passed to constructor.
@romanovvlad romanovvlad requested a review from a team as a code owner July 20, 2020 09:24
@romanovvlad romanovvlad requested a review from v-klochkov July 20, 2020 09:24
@@ -84,7 +79,11 @@ class queue_impl {
"as the context does not contain the given device.",
PI_INVALID_DEVICE);
if (!MHostQueue) {
MCommandQueue = createQueue(Order);
const QueueOrder qorder =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny comment: qorder -> QOrder or QO (please start var names with a capital letter)

@bader bader merged commit 7863c0b into intel:sycl Jul 20, 2020
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.

3 participants