numba_dpex.core.lowering

Registers any custom lowering functions to default Numba lowering registry.

Overview

Function

dpex_dispatcher_const(context)

Dummy lowering function for a KernelDispatcherType object.

Attributes

registry

-

lower_constant

-

Functions

dpex_dispatcher_const(context)

Dummy lowering function for a KernelDispatcherType object.

The dummy lowering function for the KernelDispatcher types is added so that a numba_dpex.core.decorators.kernel() decorated function can be passed as an argument to dpjit.

Attributes

registry
lower_constant