From 06c74acefeb129abbead1ae4f1621732a84aef4c Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Sun, 27 Nov 2016 21:36:55 -0600 Subject: [PATCH] Doctest fix. --- doc/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 38635ee5e..0024b1915 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1128,7 +1128,7 @@ to the right by 1: >>> cgr = lp.generate_code_v2(knl) Traceback (most recent call last): ... - loopy.diagnostic.MissingBarrierError: Dependency 'rotate depends on maketmp' (for variable 'arr') requires synchronization by a global barrier (add a 'no_sync_with' instruction option to state that nosynchronization is needed) + MissingBarrierError: Dependency 'rotate depends on maketmp' (for variable 'arr') requires synchronization by a global barrier (add a 'no_sync_with' instruction option to state that nosynchronization is needed) Because of the write-after-read dependency in global memory, a global barrier needs to be inserted. This can be accomplished with a ``... gbarrier`` -- GitLab