diff --git a/src/pystencils/backend/kernelcreation/context.py b/src/pystencils/backend/kernelcreation/context.py index 536c73c7f81ede3ea36629e361faa691f0631db6..358b5ff6cdeb6cca1cfc232c5129ae239bdb3be9 100644 --- a/src/pystencils/backend/kernelcreation/context.py +++ b/src/pystencils/backend/kernelcreation/context.py @@ -49,6 +49,8 @@ FieldArrayPair = namedtuple("FieldArrayPair", ("field", "array")) @dataclass(frozen=True) class ReductionInfo: + """Information about a reduction operation, its neutral element in form of an initial value + and the pointer used by the kernel as write-back argument.""" op: ReductionOp init_val: PsExpression