IntelPython / dpctl

Python SYCL bindings and SYCL-based Python Array API library
https://intelpython.github.io/dpctl/
Apache License 2.0
102 stars 29 forks source link

Bugfix/gh 1874 result type #1877

Closed oleksandr-pavlyk closed 1 month ago

oleksandr-pavlyk commented 1 month ago

Closes gh-1874

If inputs consist solely of weak dtypes, pre-prepopulate dtypes lists with scalar behind the first weak_dtypes element.

Add tests that dpt.result_types(sc1, sc2) gives the same result regardless whether the scalar is a Python scalar (weak dtype), or corresponding NumPy scalar (strong dtype).

github-actions[bot] commented 1 month ago

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. :crossed_fingers:

github-actions[bot] commented 1 month ago

Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_148 ran successfully. Passed: 895 Failed: 0 Skipped: 119

coveralls commented 1 month ago

Coverage Status

coverage: 87.676% (+0.003%) from 87.673% when pulling dc1887e7f65bd336239975c3727d27a171495ff5 on bugfix/gh-1874-result_type into 9eb8f0303c99a988583c7e99f14585e71f02f4d6 on master.

github-actions[bot] commented 1 month ago

Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_151 ran successfully. Passed: 894 Failed: 1 Skipped: 119

github-actions[bot] commented 1 month ago

Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_152 ran successfully. Passed: 895 Failed: 0 Skipped: 119