From c08262639adb1780d6cf5bd26e8b0ff0552c2bcf Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 11 Feb 2018 21:29:01 -0600 Subject: [PATCH] Fix no_sync_with doc indentation. Plus minor phrasing change --- loopy/kernel/instruction.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/loopy/kernel/instruction.py b/loopy/kernel/instruction.py index 6510da4da..95001c78b 100644 --- a/loopy/kernel/instruction.py +++ b/loopy/kernel/instruction.py @@ -99,12 +99,13 @@ class InstructionBase(ImmutableRecord): - `"global"` - `"any"`. - An element ``(insn_id, scope)`` means "no conflicting variable access - for variables of ``scope`` between this instruction and ``insn_id``. - Specifically, loopy will not complain even if it detects that accesses - potentially requiring ordering (e.g. by dependencies) exist, and it - will not emit barriers to guard any dependencies from this - instruction on ``insn_id`` that may exist. + An element ``(insn_id, scope)`` means "do not consider any variable + access conflicting for variables of ``scope`` between this instruction + and ``insn_id``". + Specifically, loopy will not complain even if it detects that accesses + potentially requiring ordering (e.g. by dependencies) exist, and it + will not emit barriers to guard any dependencies from this + instruction on ``insn_id`` that may exist. Note, that :attr:`no_sync_with` allows instruction matching through wildcards and match expression, just like :attr:`depends_on`. -- GitLab