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
{{ message }}
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
Implement static_getitem for DpnpNdArray type #1086
An implementation for the static_getitem function for DpnpNdArray is missing and that results in the lowering falling back to the generic lower_getitem that in turn resolves to the getitem_arraynd_intp call defined in numba/np/arrayobj.py.
In current main using Numba's function for DpnpNdArray works fine as the underlying data model for DpnpNdArray is the same as types.Array. However, with the changes introduced in #1083 the approach fails. Hence, we need a DpnpNdArray-specific implementation of getitem.
An implementation for the
static_getitemfunction forDpnpNdArrayis missing and that results in the lowering falling back to the genericlower_getitemthat in turn resolves to thegetitem_arraynd_intpcall defined innumba/np/arrayobj.py.In current main using Numba's function for
DpnpNdArrayworks fine as the underlying data model forDpnpNdArrayis the same astypes.Array. However, with the changes introduced in #1083 the approach fails. Hence, we need aDpnpNdArray-specific implementation ofgetitem.