legate.core.AutoTask.add_alignment#

AutoTask.add_alignment(self, array_or_store1, array_or_store2) void#

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:
  • arr_or_store1 (LogicalArray or LogicalStore) – LogicalArrays or LogicalStores to align

  • arr_or_store2 (LogicalArray or LogicalStore) – LogicalArrays or LogicalStores to align

Raises:

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