From 6b8b8d6125728e4018a564af7008bf3a3a4469fc Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 10 May 2016 11:47:32 -0500 Subject: [PATCH] Adjust sectioning comments in loopy.kernel.data --- loopy/kernel/data.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index 55d3a15a8..30f9f3a10 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 -- GitLab