diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 2684085747c41f3c02eeebf0a7d80fd8b2d926b0..e39a8acd12aa4d21cd3ebd0e60c1321c18d6d0cc 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1466,9 +1466,9 @@ Now to make things more interesting, we'll create a kernel with barriers: In this kernel, when a thread performs the second instruction it uses data produced -by *different* threads during the first instruction. For correct execution barriers -are required, so loopy inserts them. Now we'll count the barriers using -:func:`loopy.get_barrier_poly`: +by *different* threads during the first instruction. Because of this, barriers are +required for correct execution, so loopy inserts them. Now we'll count the barriers +using :func:`loopy.get_barrier_poly`: .. doctest::