diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index 995af8f879c1a13b9cbd136c4cb088e0959e05f3..3180b5066823481c01b43f659ec851e3951fa5e4 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -923,7 +923,7 @@ Consider the following example:
     ...     "{ [i_outer,i_inner, k]:  "
     ...          "0<= 16*i_outer + i_inner <n and 0<= i_inner,k <16}",
     ...     """
-    ...     <> a_temp[i_inner] = a[16*i_outer + i_inner]
+    ...     <> a_temp[i_inner] = a[16*i_outer + i_inner] {priority=10}
     ...     out[16*i_outer + i_inner] = sum(k, a_temp[k])
     ...     """)
     >>> knl = lp.tag_inames(knl, dict(i_outer="g.0", i_inner="l.0"))
@@ -954,6 +954,9 @@ it is written in parallel across values of the group-local iname
 *i_inner*. In addition, :mod:`loopy` has emitted a barrier instruction to
 achieve the :ref:`ordering` specified by the instruction dependencies.
 
+(The ``priority=10`` attribute was added to make the output of the test
+deterministic.)
+
 .. note::
 
     It is worth noting that it was not necessary to provide a size for the