diff --git a/loopy/library/reduction.py b/loopy/library/reduction.py index 3c5f4a142b04eb22773a044cd87055e89313b892..0e5a093b76b8d09d331edead7c69fcc2e3134601 100644 --- a/loopy/library/reduction.py +++ b/loopy/library/reduction.py @@ -202,6 +202,10 @@ class ReductionOpFunction(FunctionIdentifier): def __getinitargs__(self): return (self.reduction_op,) + @property + def name(self): + return self.__class__.__name__ + # }}}