Feature/elementwise functions out keyword#1209
Feature/elementwise functions out keyword#1209vtavana merged 6 commits intofeature/elementwise-functionsfrom
Conversation
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1209/index.html |
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_98 ran successfully. |
8d1f68b to
f774228
Compare
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_108 ran successfully. |
|
f774228 to
21e1415
Compare
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_108 ran successfully. |
|
Changes in this PR lead to a drop in coverage (84.036% in the target branch vs. 83.897% in this branch). Since your changes only modify |
I added new tests and now the coverage for after adding new tests before adding new tests: |
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_110 ran successfully. |
|
Tests fail on my WSL where GPU does not support fp64. Specifically UPD: I pushed fixes for this and added tests to increase coverage. |
Also ensure that test_add_order exercises non-same dtypes to improve coverage.
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_111 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_112 ran successfully. |
| assert dpt.abs(X).dtype == type_map[arg_dt] | ||
|
|
||
| out = dpt.empty_like(X, dtype=type_map[arg_dt]) | ||
| dpt.abs(X, out) |
There was a problem hiding this comment.
I think out should not be allowed to be a positional argument in array API. Could you please change it to a keyword argument in the test suite?
|
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_113 ran successfully. |
oleksandr-pavlyk
left a comment
There was a problem hiding this comment.
Thank you @vtavana ! Please merge when ready
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Adding out keyword for elementwise functions