numba_dpex.core.dpjit_dispatcher module

class numba_dpex.core.dpjit_dispatcher.DpjitDispatcher(py_func, locals={}, targetoptions={}, impl_kind='direct', pipeline_class=<class 'numba.core.compiler.Compiler'>)

Bases: Dispatcher

A dpex.djit-specific dispatcher.

The DpjitDispatcher sets the targetdescr string to “dpex” so that Numba’s Dispatcher can lookup the global target_registry with that string and correctly use the DpexTarget context.

targetdescr = <numba_dpex.core.descriptor.DpexTarget object>