diff --git a/arraycontext/impl/pytato.py b/arraycontext/impl/pytato.py index a89d1ce4ce4061a555ee7ebb4b7047c6a964dcc1..2466296855eec5a8f98e4a6442c2150d6b116370 100644 --- a/arraycontext/impl/pytato.py +++ b/arraycontext/impl/pytato.py @@ -246,6 +246,9 @@ class PytatoArrayContext(ArrayContext): # {{{ ArrayContext interface + def clone(self): + return type(self)(self.queue, self.allocator) + def empty(self, shape, dtype): raise ValueError("PytatoArrayContext does not support empty")