-
Notifications
You must be signed in to change notification settings - Fork 22
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
Replace use of queue mgr #1735
Replace use of queue mgr #1735
Conversation
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
This is done by reverting to DPNP_LOCAL_QUEUE=1 behavior. The ultimate goal is to get rid of DPNP_QUEUE throughout dpnp codebase
Since DPNP_LOCAL_QUEUE has been removed.
db48050
to
6309f26
Compare
This change should not have made any difference, but please see if tests say otherwise. |
Renamed backend_sycl_singleton back to backend_sycl Removed dpnp_queue_initialize_c function and QueueOptions enum as no longer used. Removed uses of these from examples and code base
2c266f9
to
ac1b43a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oleksandr-pavlyk, thanks a lot for implementing a proper local queue handing in dpnp
.
@antonwolfy Are we good to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have any comment. Thank you @oleksandr-pavlyk
* Remove use of deprecated DPCTLQueueMgr_* functions This is done by reverting to DPNP_LOCAL_QUEUE=1 behavior. The ultimate goal is to get rid of DPNP_QUEUE throughout dpnp codebase * Removed setting DPNP_LOCAL_QUEUE in tests Since DPNP_LOCAL_QUEUE has been removed. * Removed uses of device_context * Removed trailing whitespace * Replaced tab with spaces * Use backend_sycl_singleton, remove backend_sycl * Removed pre-preprocessor fenced out dead code Renamed backend_sycl_singleton back to backend_sycl Removed dpnp_queue_initialize_c function and QueueOptions enum as no longer used. Removed uses of these from examples and code base * Formatting suggested by pre-commit hooks * Addressed issues raised by @diptorupd --------- Co-authored-by: Anton <[email protected]> b51100f
* Remove use of deprecated DPCTLQueueMgr_* functions This is done by reverting to DPNP_LOCAL_QUEUE=1 behavior. The ultimate goal is to get rid of DPNP_QUEUE throughout dpnp codebase * Removed setting DPNP_LOCAL_QUEUE in tests Since DPNP_LOCAL_QUEUE has been removed. * Removed uses of device_context * Removed trailing whitespace * Replaced tab with spaces * Use backend_sycl_singleton, remove backend_sycl * Removed pre-preprocessor fenced out dead code Renamed backend_sycl_singleton back to backend_sycl Removed dpnp_queue_initialize_c function and QueueOptions enum as no longer used. Removed uses of these from examples and code base * Formatting suggested by pre-commit hooks * Addressed issues raised by @diptorupd --------- Co-authored-by: Anton <[email protected]> b51100f
DPCTLQueueMgr_*
is being removed, see IntelPython/dpctl#1576.This PR removes use of
DPCTLQueueMgr_*
inqueue_sycl.cpp
andqueue_sycl.hpp
.It effectively reverts to using
DPNP_LOCAL_QUEUE=1
.Examples, documentation were also updated to avoid uses of
device_selector
as it is being removed.