From edabcfed805cc61f2d473f26940dd95c802f7729 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 28 Nov 2016 12:15:01 -0600 Subject: [PATCH] Fix missing space in doctest --- doc/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 0024b1915..7c8ba2fc9 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): ... - 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 no synchronization 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