From cfc85e74ca25ddf80f7d7c2d6c13decc8da38b14 Mon Sep 17 00:00:00 2001 From: arghdos <arghdos@gmail.com> Date: Fri, 18 Aug 2017 10:26:15 -0400 Subject: [PATCH] correct derive class --- loopy/kernel/instruction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loopy/kernel/instruction.py b/loopy/kernel/instruction.py index 1d20ff71c..be9dd93fa 100644 --- a/loopy/kernel/instruction.py +++ b/loopy/kernel/instruction.py @@ -641,7 +641,7 @@ class OrderedAtomic(VarAtomicity): memory_scope.to_string(self.scope)) -class AtomicUpdate(VarAtomicity): +class AtomicUpdate(OrderedAtomic): """Properties of an atomic update. A subclass of :class:`VarAtomicity`. .. attribute:: ordering @@ -655,7 +655,7 @@ class AtomicUpdate(VarAtomicity): op_name = 'update' -class AtomicLoad(VarAtomicity): +class AtomicLoad(OrderedAtomic): """Properties of an atomic load. A subclass of :class:`VarAtomicity`. .. attribute:: ordering -- GitLab