legate.core.AutoTask.add_reduction#
- AutoTask.add_reduction(
- self,
- LogicalStore store,
- int32_t redop,
- partition: object = None,
Adds a logical store to the task for reduction
- Parameters:
- Raises:
RuntimeError – If the AutoTask has been previously locked by a PyTask.