legate.core.operation.AutoTask.add_reduction#

AutoTask.add_reduction(store: Store, redop: int, partition: Optional[PartSym] = None) None#

Adds a store to the task for reduction

Parameters:
  • store (Store) – Store to pass for reduction

  • redop (int) – Reduction operator ID

  • partition (PartSym, optional) – Partition to associate with the store. The default partition is picked if none is given.