legate.core.Runtime.create_store#
- Runtime.create_store(
- self,
- Type dtype,
- shape: Shape | Collection[int] | None = None,
- bool optimize_scalar=False,
- ndim=None,
Create a LogicalStore.
If shape is None, the created store is unbound, otherwise it is bound.
If shape is not None, this call does not block on the shape.
- Parameters:
- Returns:
The newly created store.
- Return type:
LogicalStore
- Raises:
ValueError – If both ndim and shape are not None.