legate.core.operation.AutoTask.add_alignment#

AutoTask.add_alignment(store1: Store, store2: Store) None#

Sets an alignment between stores. Equivalent to the following code:

symb1 = op.declare_partition(store1)
symb2 = op.declare_partition(store2)
op.add_constraint(symb1 == symb2)
Parameters:
  • store1 (Store) – Stores to align

  • store2 (Store) – Stores to align

Raises:

ValueError – If the stores don’t have the same shape or only one of them is unbound