|
47 | 47 | from pytools.persistent_dict import WriteOncePersistentDict |
48 | 48 |
|
49 | 49 | from loopy.kernel import KernelState, LoopKernel |
50 | | -from loopy.kernel.data import ArrayArg, _ArraySeparationInfo, auto |
51 | 50 | from loopy.tools import LoopyKeyBuilder, caches |
52 | 51 | from loopy.types import LoopyType, NumpyType |
53 | | -from loopy.typing import Expression, integer_expr_or_err |
| 52 | +from loopy.typing import auto, integer_expr_or_err |
54 | 53 | from loopy.version import DATA_MODEL_VERSION |
55 | 54 |
|
56 | 55 |
|
57 | 56 | if TYPE_CHECKING: |
58 | | - from collections.abc import Callable, Mapping, Sequence |
| 57 | + from collections.abc import Callable, Mapping, Sequence, Set |
59 | 58 |
|
| 59 | + from pymbolic.typing import Expression |
| 60 | + |
| 61 | + from loopy.kernel.data import ArrayArg, _ArraySeparationInfo |
60 | 62 | from loopy.schedule.tools import KernelArgInfo |
61 | 63 | from loopy.translation_unit import TranslationUnit |
62 | 64 |
|
@@ -766,7 +768,13 @@ class ExecutorBase: |
766 | 768 |
|
767 | 769 | .. automethod:: __call__ |
768 | 770 | """ |
| 771 | + t_unit: TranslationUnit |
769 | 772 | packing_controller: SeparateArrayPackingController | None |
| 773 | + entrypoint: str |
| 774 | + input_array_names: Set[str] |
| 775 | + has_runtime_typed_args: bool |
| 776 | + separated_entry_knl: LoopKernel |
| 777 | + sep_info: dict[str, _ArraySeparationInfo] |
770 | 778 |
|
771 | 779 | def __init__(self, t_unit: TranslationUnit, entrypoint: str): |
772 | 780 | self.t_unit = t_unit |
|
0 commit comments