numba_dpex.core.targets.dpjit_target module

Defines the target and typing contexts for numba_dpex’s dpjit decorator.

class numba_dpex.core.targets.dpjit_target.Dpex

Bases: CPU

class numba_dpex.core.targets.dpjit_target.DpexTargetContext(typingctx, target='dpex')

Bases: CPUContext

property dpexrt
init()

For subclasses to add initializer

refresh()

Refresh context with new declarations from known registries. Useful for third-party extensions.