legate.core.task.ReductionArray#
- class legate.core.task.ReductionArray#
Convenience class for specifying reduction arrays for Legate task variants.
This class can be used as a type annotation in order to mark parameters as reductions that should be taken from
TaskContext.reductionswhen the task code is invoked:def task_function(in: InputArray, red: ReductionArray) -> None
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)child(self, uint32_t index)Get the sub-array of a given index.
data(self)Get the store containing the array's data.
domain(self)Get the Domain of the array.
null_mask(self)Get the store containing the array's null mask.
Attributes
__array_interface__dict[str, Any]
__cuda_array_interface__dict[str, Any]
__doc__ndimint
nestedbool
nullablebool
typeType