Skip to content
Snippets Groups Projects
Commit 6b8b8d61 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Adjust sectioning comments in loopy.kernel.data

parent a42b3858
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment