From f2df5a663733990ca42a8286a82db34eada2ea7a Mon Sep 17 00:00:00 2001 From: Manolis Papadakis Date: Fri, 5 Aug 2022 14:05:51 -0700 Subject: [PATCH] Required core changes for cunumeric#474 (#307) * Required core changes for cunumeric#474 * Don't expose Storage --- legate/core/store.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legate/core/store.py b/legate/core/store.py index 1b4affd9e..f8c8f38ca 100644 --- a/legate/core/store.py +++ b/legate/core/store.py @@ -988,6 +988,9 @@ def storage(self) -> Union[RegionField, Future]: ) return self._storage.data + def same_root(self, rhs: Store) -> bool: + return self._storage.get_root() is rhs._storage.get_root() + @property def extents(self) -> Shape: return self._storage.extents