legate.core.context.Context.create_fill#

Context.create_fill(lhs: Store, value: Store, mapper_id: int = 0) Fill#

Creates a fill operation.

Parameters:
  • lhs (Store) – Store to fill

  • value (Store) – Store holding the constant value to fill the lhs with

  • mapper_id (int, optional) – Id of the mapper that should determine mapping policies for the fill. Used only when the library has more than one mapper.

Returns:

A new fill operation

Return type:

Copy

Raises:

ValueError – If the value is not scalar or the lhs is either unbound or scalar