numba_dpex.core.parfors.compiler#
Overview#
|
Compiles a function using class:numba_dpex.core.pipelines.KernelCompiler |
Functions#
- compile_numba_ir_with_dpex(pyfunc, pyfunc_name, args, return_type, target_context, typing_context, debug=False, is_kernel=True, extra_compile_flags=None)#
Compiles a function using class:numba_dpex.core.pipelines.KernelCompiler and returns the compiled result.
- Parameters:
args – The list of arguments passed to the kernel.
debug (bool) – Optional flag to turn on debug mode compilation.
extra_compile_flags – Extra flags passed to the compiler.
- Returns:
Compiled result.
- Return type:
cres
- Raises:
KernelHasReturnValueError – If the compiled function returns a non-void value.