Branch: refs/heads/master
Revision: 781f485
Author: mppf
Log Message:
Merge pull request #16874 from mppf/targetLocales-const-ref
Adjust targetLocales to return const ref
Resolves #16873.
Almost all array implementations were already returning an existing
variable. However the local array types were returning an array
containing only the current locale. To support that, this PR adjusts
AbstractLocaleModel to store a singleton array storing that locale.
Reviewed by @e-kayrakli - thanks!
- [x] full local gasnet testing
Modified Files:
A test/arrays/ferguson/default-rectangular-targetlocales.chpl
A test/arrays/ferguson/default-rectangular-targetlocales.good
A test/arrays/ferguson/default-rectangular-targetlocales.numlocales
M modules/dists/BlockCycDist.chpl
M modules/dists/BlockDist.chpl
M modules/dists/CyclicDist.chpl
M modules/dists/HashedDist.chpl
M modules/dists/ReplicatedDist.chpl
M modules/dists/StencilDist.chpl
M modules/internal/ArrayViewRankChange.chpl
M modules/internal/ArrayViewReindex.chpl
M modules/internal/ChapelArray.chpl
M modules/internal/ChapelLocale.chpl
M modules/internal/DefaultAssociative.chpl
M modules/internal/DefaultRectangular.chpl
M test/studies/comd/elegant/arrayOfStructs/util/AccumStencilDist.chpl
M test/users/aroonsharma/CyclicZipOpt.chpl
Compare: Comparing eb766cd076a8...781f485c2945 · chapel-lang/chapel · GitHub