legate.core.LogicalArray.promote#

LogicalArray.promote(
self,
int32_t extra_dim,
size_t dim_size,
) LogicalArray#

Add an extra dimension to the array. This call may block if the array is unbound.

Parameters:
  • extra_dim (int) – Position for the extra dimension.

  • dim_size (int) – Size of the new dimension to add.

Returns:

The promoted array.

Return type:

LogicalArray