[Chapel Merge] Updating parIters to improve work partitioning in

Branch: refs/heads/master
Revision: ae5b1e2
Author: bradcray
Log Message:

Merge pull request #16890 from rchinmay/Update-parIters

Updating parIters to improve work partitioning in computeChunk

[developed by @rchinmay, reviewed by me]

Updated computeChunk method. The ranges returned to each task differ by at most 1 in size. The explanation for this function is also modified to explain the logic implemented.

[I may also do some post-merge formatting changes that felt too fine-grain for the PR review]

Modified Files:
M test/release/examples/primers/parIters.chpl

Compare: Comparing 4db737fecdf0...ae5b1e2bcf3b · chapel-lang/chapel · GitHub