legate.core.Runtime.create_logical_store_from_physical#

Runtime.create_logical_store_from_physical(
self,
PhysicalStore physical_store,
) LogicalStore#

Create a LogicalStore from a PhysicalStore for nested task execution.

This API enables nested execution by converting a task’s input PhysicalStore (representing an already-mapped region) back to a LogicalStore suitable for launching nested operations.

Parameters:

physical_store (PhysicalStore) – The physical store to convert

Returns:

Logical store wrapping the same region as the physical store

Return type:

LogicalStore

Raises:

RuntimeError – If the physical store is not region-backed