legate.core.Runtime.issue_scatter_gather#

Runtime.issue_scatter_gather(
self,
LogicalStore target,
LogicalStore target_indirect,
LogicalStore source,
LogicalStore source_indirect,
redop: int | None = None,
) void#

Issue a scatter-gather copy between stores.

target_indirect and the source_indirect must have the same shape.

Parameters:
  • target (LogicalStore) – The target store.

  • target_indirect (LogicalStore) – The target indirection store.

  • source (LogicalStore) – The source store.

  • source_indirect (LogicalStore) – The source indirection store.

  • redop (int (optional)) – ID of the reduction operator to use (optional). If none is given, no reductions take place. The store’s type must support the operator.

Raises:

ValueError – If the store’s type doesn’t support redop.