numba_dpex.core.boxing.ranges#
Overview#
|
Converts a Python Range object to numba-dpex’s native struct representation |
|
Converts a Python Range object to numba-dpex’s native struct representation |
|
Convert a native range structure to a Range object. |
|
Convert a native range structure to a Range object. |
Functions#
- unbox_range(typ, obj, c)#
Converts a Python Range object to numba-dpex’s native struct representation for RangeType.
- unbox_ndrange(typ, obj, c)#
Converts a Python Range object to numba-dpex’s native struct representation for NdRangeType.
- box_range(typ, val, c)#
Convert a native range structure to a Range object.
- box_ndrange(typ, val, c)#
Convert a native range structure to a Range object.