From 501a23ad208c027c208c00a44f12c65824d6f7f3 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Thu, 29 Aug 2013 14:48:09 +0400 Subject: [PATCH] Typos fixes in docs --- docs/ispc.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ispc.rst b/docs/ispc.rst index 26cf6be3..476046e8 100644 --- a/docs/ispc.rst +++ b/docs/ispc.rst @@ -3659,7 +3659,7 @@ command-line argument. Cross-Program Instance Operations --------------------------------- -``ispc`` programs are often used to expresses independently-executing +``ispc`` programs are often used to express independently-executing programs performing computation on separate data elements. (i.e. pure data-parallelism). However, it's often the case where it's useful for the program instances to be able to cooperate in computing results. The @@ -3690,7 +3690,7 @@ the running program instances. The ``rotate()`` function allows each program instance to find the value of the given value that their neighbor ``offset`` steps away has. For -example, on an 8-wide target, if ``offset`` has the value (1, 2, 3, 4, 5, +example, on an 8-wide target, if ``value`` has the value (1, 2, 3, 4, 5, 6, 7, 8) across the gang of running program instances, then ``rotate(value, -1)`` causes the first program instance to get the value 8, the second program instance to get the value 1, the third 2, and so forth. The @@ -3769,7 +3769,7 @@ where the ``i`` th element of ``x`` has been replaced with the value ``v`` Reductions ---------- -A number routines are available to evaluate conditions across the +A number of routines are available to evaluate conditions across the running program instances. For example, ``any()`` returns ``true`` if the given value ``v`` is ``true`` for any of the SPMD program instances currently running, ``all()`` returns ``true`` if it true