Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Implement static_getitem for DpnpNdArray type #1086

Description

@diptorupd

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions