numba_dpex.core.parfors.reduction_helper¶
Overview¶
The class to define and allocate reduction intermediate variables. |
|
The parfor body and the main function body share ir.Var nodes. |
Classes¶
- class ReductionHelper¶
The class to define and allocate reduction intermediate variables.
- class ReductionKernelVariables(lowerer, parfor_node, typemap, parfor_outputs, reductionHelperList)¶
The parfor body and the main function body share ir.Var nodes. We have to do some replacements of Var names in the parfor body to make them legal parameter names. If we don’t copy then the Vars in the main function also would incorrectly change their name.
Overview
¶ copy_final_sum_to_host
(queue_ref)-
Members
- copy_final_sum_to_host(queue_ref)¶