numba_dpex.core.descriptor

Overview

Classes

DpexTargetOptions

Target options maps user options from decorators to the

DpexKernelTarget

Implements a target descriptor for numba_dpex.kernel decorated functions.

DpexTarget

Implements a target descriptor for numba_dpex.dpjit decorated functions.

Classes

class DpexTargetOptions

Bases: numba.core.cpu.CPUTargetOptions

Target options maps user options from decorators to the numba.core.compiler.Flags used by lowering and target context.

Overview

Methods

finalize(flags, options)

Subclasses can override this method to make target specific

Members

experimental
release_gil
no_compile
inline_threshold
finalize(flags, options)

Subclasses can override this method to make target specific customizations of default flags.

Parameters:
  • flags (Flags)

  • options (dict)

class DpexKernelTarget(target_name)

Bases: numba.core.descriptors.TargetDescriptor

Implements a target descriptor for numba_dpex.kernel decorated functions.

Overview

Attributes

options

-

Members

options
class DpexTarget(target_name)

Bases: numba.core.descriptors.TargetDescriptor

Implements a target descriptor for numba_dpex.dpjit decorated functions.

Overview

Attributes

options

-

Members

options

Attributes

dpex_kernel_target
dpex_target