legate.core.Runtime.issue_scatter#

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

Issue a scatter copy between stores.

target_indirect and the source must have the same shape.

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

  • target_indirect (LogicalStore) – The target indirection store.

  • source (LogicalStore) – The source 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.