Closed ndgrigorian closed 2 months ago
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. :crossed_fingers:
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_305 ran successfully. Passed: 870 Failed: 8 Skipped: 92
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_306 ran successfully. Passed: 870 Failed: 8 Skipped: 92
This pull request proposes resolutions to #1360, #1382, and #1482 by changing the behavior of advanced indexing and indexing functions.
x[i_0, i_1, ...]
now promotes arraysi_0 ... i_N
to an appropriate integer data type, and only raises where such a data type cannot be foundx[indices] = vals
now castsvals
to the data type ofx
regardless of type. This aligns withplace
/boolean indexing.dpt.put
now warns the user about race conditions when indices are not uniqueAdditionally, this PR implements changes to
take
,put
, and generalized advanced integer indexing which handle cases where empty axes are being indexed.