legate.core.task.ReductionStore#
- class legate.core.task.ReductionStore#
Convenience class for specifying reduction stores 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.reductions
when the task code is invoked:def task_function(in: InputStore, red: ReductionStore) -> None
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)get_inline_allocation
(self)Get the InlineAllocation for this store.
Attributes
__array_interface__
dict[str, Any]
__cuda_array_interface__
dict[str, Any]
__doc__
domain
Domain
ndim
int32_t
target
StoreTarget
type
Type