legate.core.AutoTask.add_alignment#

AutoTask.add_alignment(
self,
LogicalStore store1,
LogicalStore 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:
  • store1 (LogicalStore) – LogicalStores to align

  • store2 (LogicalStore) – LogicalStores to align

Raises:

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