Skip to content

used dpctl.SyclQueue instead of manager and get current queue#448

Merged
oleksandr-pavlyk merged 1 commit intomasterfrom
remove-context-manager-in-test-sycl-program
May 18, 2021
Merged

used dpctl.SyclQueue instead of manager and get current queue#448
oleksandr-pavlyk merged 1 commit intomasterfrom
remove-context-manager-in-test-sycl-program

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented May 18, 2021

Instead of using with dpctl.device(...) and then q = dpctl.get_current_queue(), use q = dpctl.SyclQueue(...) directly.

It is cleaner this way.

@oleksandr-pavlyk oleksandr-pavlyk merged commit dc592f0 into master May 18, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the remove-context-manager-in-test-sycl-program branch August 20, 2021 19:30
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.

1 participant