diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index 55d3a15a8b9ba3f06366afc111d35b0f8e6be9f1..30f9f3a10b75d18ad3aa072ad4215d00d82bdd42 100644 --- a/loopy/kernel/data.py +++ b/loopy/kernel/data.py @@ -417,9 +417,7 @@ class SubstitutionRule(Record): # }}} -# {{{ instruction - -# {{{ base class +# {{{ instructions: base class class InstructionBase(Record): """A base class for all types of instruction that can occur in @@ -786,6 +784,8 @@ def _get_assignee_and_index(expr): raise RuntimeError("invalid lvalue '%s'" % expr) +# {{{ atomic ops + class memory_ordering: """Ordering of atomic operations, defined as in C11 and OpenCL. @@ -927,8 +927,10 @@ class AtomicUpdate(VarAtomicity): memory_ordering.to_string(self.ordering), memory_scope.to_string(self.scope)) +# }}} + -# {{{ assignment +# {{{ instruction: assignment class Assignment(InstructionBase): """ @@ -1292,6 +1294,4 @@ class CInstruction(InstructionBase): # }}} -# }}} - # vim: foldmethod=marker