-
Notifications
You must be signed in to change notification settings - Fork 30
Remove the DPCTLQueueMgr_* and device_context API from dpctl #1576
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
Conversation
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_49 ran successfully. |
7b250c3
to
311844c
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_50 ran successfully. |
1 similar comment
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_50 ran successfully. |
f437f6f
to
e6cc99c
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_52 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_52 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_53 ran successfully. |
c8a7755
to
3512914
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_135 ran successfully. |
3512914
to
653efa8
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_135 ran successfully. |
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.
This looks good to me know, but it would be best if dpnp
can resolve its dependency on DPCTLQueueMgr_*
before merging this.
One option is to vendor implementation of DPCTLQueueMgr_GetCurrentQueue
without implementing any code to modify the stack.
It is okay to wait for dpnp. Are there any blockers? |
|
The
DPCTLQueueMgr_*
implemented a global stack in libsyclinterface to keep track of a "current queue". The stack was controlled from dpctl's Python API usingdpctl.device_context
. Both these features are legacy design choices that have been abandoned and no longer are required. The PR removes the DPCTLQueueMgr_*interface,
dpctl.device_context` and associated functions, removes and updates test cases as needed.Existing tests were updated.
Fixes #11
Fixes #410
Fixes #1575