From 4f83a824faffd49850bc1faaeb0696d29d4e6a3a Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Fri, 7 Apr 2017 13:28:15 -0500 Subject: [PATCH] Update/clarify documentation. --- loopy/transform/instruction.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/loopy/transform/instruction.py b/loopy/transform/instruction.py index 381a3b7c9..6f5182e56 100644 --- a/loopy/transform/instruction.py +++ b/loopy/transform/instruction.py @@ -129,6 +129,8 @@ def remove_instructions(kernel, insn_ids): Dependencies across (one, for now) deleted isntructions are propagated. Behavior is undefined for now for chains of dependencies within the set of deleted instructions. + + This also updated *no_sync_with* for all instructions. """ if not insn_ids: @@ -228,7 +230,7 @@ def tag_instructions(kernel, new_tag, within=None): def add_nosync(kernel, scope, source, sink, bidirectional=False, force=False): """Add a *no_sync_with* directive between *source* and *sink*. - *no_sync_with* is only added if a (syntactic) dependency edge + *no_sync_with* is only added if an (execution) dependency is present or if the instruction pair is in a conflicting group (this does not check for memory dependencies). -- GitLab