diff --git a/modules/dists/BlockDist.chpl b/modules/dists/BlockDist.chpl index 41028f6d3d88..64b5e41ef2a0 100644 --- a/modules/dists/BlockDist.chpl +++ b/modules/dists/BlockDist.chpl @@ -328,7 +328,8 @@ The helper methods on ``blockDist`` have the following signatures: .. function:: proc blockDist.createDomain(dom: domain(?)) - Create a block-distributed domain over an existing ``blockDist``. + Create a block-distributed domain over an existing ``blockDist`` by copying + the index space from the passed domain. .. function:: proc blockDist.createDomain(rng: range(?)...) diff --git a/modules/dists/CyclicDist.chpl b/modules/dists/CyclicDist.chpl index 7208050e6926..420ed78d0997 100644 --- a/modules/dists/CyclicDist.chpl +++ b/modules/dists/CyclicDist.chpl @@ -230,7 +230,8 @@ The helper methods on ``Cyclic`` have the following signatures: .. function:: proc cyclicDist.createDomain(dom: domain(?)) - Create a cyclic-distributed domain over an existing ``cyclicDist``. + Create a cyclic-distributed domain over an existing ``cyclicDist`` by copying + the index space from the passed domain. .. function:: proc cyclicDist.createDomain(rng: range(?)...) diff --git a/modules/dists/StencilDist.chpl b/modules/dists/StencilDist.chpl index 5ccf2ed2d899..9519411cd4f5 100644 --- a/modules/dists/StencilDist.chpl +++ b/modules/dists/StencilDist.chpl @@ -266,7 +266,8 @@ config param disableStencilLazyRAD = defaultDisableLazyRADOpt; .. function:: proc stencilDist.createDomain(dom: domain(?)) - Create a stencil-distributed domain over an existing ``blockDist``. + Create a stencil-distributed domain over an existing ``blockDist`` by copying + the index space from the passed domain. .. function:: proc stencilDist.createDomain(rng: range(?)...) diff --git a/modules/packages/LinearAlgebra.chpl b/modules/packages/LinearAlgebra.chpl index 94e6f3a11a2b..27618e88d4cd 100644 --- a/modules/packages/LinearAlgebra.chpl +++ b/modules/packages/LinearAlgebra.chpl @@ -3480,11 +3480,11 @@ module Sparse { @chpldoc.nodoc - /* Returns ``true`` if the array is mapped to the ``CS`` layout. */ + /* Returns ``true`` if the array is distributed with the CS layout. */ proc isCSArr(A: []) param { return isCSType(A.domain.distribution.type); } @chpldoc.nodoc - /* Returns ``true`` if the domain is mappd to the ``CS`` layout. */ + /* Returns ``true`` if the domain is distributed with the CS layout. */ proc isCSDom(D: domain) param { return isCSType(D.distribution.type); } diff --git a/test/release/examples/primers/distributions.chpl b/test/release/examples/primers/distributions.chpl index ef534ea49126..19b503485d6a 100644 --- a/test/release/examples/primers/distributions.chpl +++ b/test/release/examples/primers/distributions.chpl @@ -189,7 +189,7 @@ following expressions for convenience: const CyclicSpace = cyclicDist.createDomain(Space); const CA: [CyclicSpace] int; -or:c +or: .. code-block:: chapel diff --git a/test/release/examples/primers/forallLoops.chpl b/test/release/examples/primers/forallLoops.chpl index ba0de612b333..408eee1c9cdc 100644 --- a/test/release/examples/primers/forallLoops.chpl +++ b/test/release/examples/primers/forallLoops.chpl @@ -153,12 +153,13 @@ determine iteration locality. Domains declared without a distribution (see :ref:`primers-distributions`), including default rectangular and default associative domains, as well as arrays over such domains, provide both serial and parallel -iterators. So do domains distributed over standard distributions, +iterators. So do domains distributed over standard multi-locale distributions, such as blockDist and cyclicDist, and arrays over such domains. The -parallel iterators provided by standard distributions place each loop +parallel iterators provided by standard multi-locale distributions place each loop iteration on the locale where the corresponding index or array element is placed. + Task Intents and Shadow Variables ---------------------------------