-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bug in boxing a DpnpNdArray from parent.
- When boxing a dpnp.ndarray using the reference of the parent stored during unboxing, there is a validation step on the strides. However, as a dpnp.ndarray object does not store any stride information when an array is unit strided the strides need to be calculated and validated against the strides in the Numba usmarraystruct object. The PR fixes the stride calculation that was previously done incorrectly.
- Loading branch information
Diptorup Deb
committed
Oct 3, 2023
1 parent
cd5332f
commit a81927d
Showing
2 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters