numba_dpex.dppy_array_type module

class numba_dpex.dppy_array_type.DPPYArray(*args, **kwargs)

Bases: numba.core.types.npytypes.Array

Type class for DPPY arrays.

property box_type

Returns the Python type to box to.

copy(dtype=None, ndim=None, layout=None, readonly=None, addrspace=None)
is_precise()

Whether this type is precise, i.e. can be part of a successful type inference. Default implementation returns True.

property key

A property used for __eq__, __ne__ and __hash__. Can be overridden in subclasses.

class numba_dpex.dppy_array_type.DPPYArrayModel(dmm, fe_type)

Bases: numba.core.datamodel.models.StructModel