diff --git a/arraycontext/impl/pytato/compile.py b/arraycontext/impl/pytato/compile.py index a7e368b6e0cf04819a9ea0cfb97005023a4fbb3c..789f6380f40521df91dcf7b0281f5847aae353d6 100644 --- a/arraycontext/impl/pytato/compile.py +++ b/arraycontext/impl/pytato/compile.py @@ -75,7 +75,7 @@ def _ary_container_key_stringifier(keys: Tuple[Any, ...]) -> str: @dataclass -class PytatoCompiledOperator: +class LazilyCompilingFunctionCaller: """ Records a side-effect-free callable :attr:`PytatoCompiledOperator.f`, that would be specialized for different input types @@ -125,7 +125,7 @@ class PytatoCompiledOperator: arg_descrs = tuple(to_arg_descr(arg) for arg in args) try: - exec_f = self.program_cache[arg_descrs] + compiled_f = self.program_cache[arg_descrs] except KeyError: pass else: @@ -189,7 +189,7 @@ class PytatoCompiledOperator: @dataclass -class PytatoExecutable: +class CompiledFunction: """ A callable which is an instance of :attr:`~PytatoCompiledOperator.f` specialized for a particular input type fed to it.