legate.core.AutoTask.add_output#
- AutoTask.add_output(self, array_or_store, partition: Variable | None = None) Variable #
Adds a logical array/store as output to the task
- Parameters:
array_or_store (LogicalArray or LogicalStore) – LogicalArray or LogicalStore to pass as output
partition (Variable, optional) – Partition to associate with the array/store. The default partition is picked if none is given.
- Raises:
RuntimeError – If the AutoTask has been previously locked by a PyTask.