legate.core.operation.Copy.add_output#
- Copy.add_output(store: Store) None #
Adds a store as a target of the copy. To avoid ambiguity in matching sources and targets, one copy cannot have both normal targets and reduction targets.
- Parameters:
store (Store) – Target store
- Raises:
RuntimeError – If the copy already has a reduction target
ValueError – If the store is scalar or unbound