Skip to content

Commit 03fc40a

Browse files
clean up loopy cache
1 parent fae85a4 commit 03fc40a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

arraycontext/impl/cupy/__init__.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,7 @@ class CupyNonObjectArray(metaclass=CupyNonObjectArrayMetaclass):
6262

6363

6464
class CupyArrayContext(ArrayContext):
65-
"""
66-
An :class:`ArrayContext` that uses :class:`cupy.ndarray` to represent arrays.
67-
68-
.. automethod:: __init__
69-
"""
70-
71-
_loopy_transform_cache: dict[lp.TranslationUnit, lp.ExecutorBase]
72-
73-
def __init__(self) -> None:
74-
super().__init__()
75-
self._loopy_transform_cache = {}
65+
"""An :class:`ArrayContext` that uses :class:`cupy.ndarray` to represent arrays."""
7666

7767
array_types = (CupyNonObjectArray,)
7868

0 commit comments

Comments
 (0)