You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to NEP-50, which has been the guideline for our binary operation type promotion, this case should probably raise an exception, since it's a Python scalar that's too large for the array type.
According to NEP-50, which has been the guideline for our binary operation type promotion, this case should probably raise an exception, since it's a Python scalar that's too large for the array type.
There have been developments in this since last year! NEP-50 has been clarified to focus on result types, so Numpy 2 now permits (and correctly calculates) this edge case.
Enhancements to dpctl will be made to support this.
The code below works incorrectly in dpctl:
It looks like dpctl always casts a scalar to the same type as incoming usm_ndarray has, which might cause wrong result.
The text was updated successfully, but these errors were encountered: