diff --git a/loopy/kernel/instruction.py b/loopy/kernel/instruction.py index 1d20ff71c3f13035d2f01b56a69e2d983c7660af..be9dd93fa69b323412def74852a705adf54570b4 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