-
Notifications
You must be signed in to change notification settings - Fork 30
More docstring edits #1636
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
More docstring edits #1636
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_202 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_203 ran successfully. |
Updated docstrings for __dlpack__, __dlpack_device__, real, imag properties, and for shape, strides, _pointer, _element_offset, _byte_bounds.
84aaeb0
to
100aba9
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_203 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_204 ran successfully. |
There is no longer a class ``sycl::cpu_selector``. Instead there is a callable functor ``sycl::cpu_selector_v`` which ``sycl::device`` constructor takes as an argument.
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_206 ran successfully. |
Made them uniform, specify return type, fix references to SYCL 2020 spec document.
9efc4d9
to
4562db9
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_206 ran successfully. |
Also added examples to some aspect properties.
Added examples for few properties that return enums.
Added docstrings with return type for properties. Added few examples.
Added examples and return types for some properties.
Added docstrings for submit, submit_async, _submit_keep_args_alive, submit_barrier methods.
Also used double quotes for proper rendering of variables in docstrings of reduction functions.
…thod Also added docstring for __init__ special method.
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_215 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_219 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_220 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_222 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_224 ran successfully. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_225 ran successfully. |
Indentation fixed for item list, usm_array.device -> usm_ndarray.device Used double back-quotes instead of single for proper rendering in HTML
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_226 ran successfully. |
Since resulting docstrings are long, added flake8 exceptions
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_228 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.
LGTM, thank you @oleksandr-pavlyk, this is a huge number of changes to the docstrings.
Thank you @ndgrigorian and @antonwolfy for the review. Merging this batch, and will open a new PR should more changes be needed. |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_229 ran successfully. |
Docstring edits for
dpctl.memory
anddpctl.utils
namespaces.