Added get_strides_vector and get_shape_vector#1090
Conversation
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1090/index.html |
|
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_57 ran successfully. |
24b8bdd to
df6114d
Compare
|
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_57 ran successfully. |
|
Could you please also remove uses of |
|
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_58 ran successfully. |
Removed const qualifier from returned vector.
|
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_59 ran successfully. |
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
|
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_59 ran successfully. |
This pull request adds methods get_strides_vector and get_shape_vector to usm_ndarray.
These functions are slightly more convenient and can be used to clean up some strides logic, especially where multiple stride copies are involved.