• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaParallel / DistributedArrays.jl / 248
70%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2016 07:22PM UTC
Jobs 2
Files 1
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
248

Pull #74

travis-ci

web-flow
Fix setindex! with SubDArray source

This method is an optimization wherein we try to chunk accesses based upon the parent DArray's parts. The hard thing is then going backwards and trying to figure out which parts of the assignment indices need to be used in order to access those chunks.  This is a four stage process that uses five different types of indices:

1. Find the indices of each portion of the DArray
2. Find the valid subset of indices of the SubArray that index into that portion
3. Find the portion of the indices for the assignment that need to be used for that subset of indices in step 2. This is the hard part.  It requires creating another set of indices that represents the mask of valid indices from step 2.  With those masks in hand, it's possible to reindex `I` to the indices we need. The trouble is that `setindex!` supports singleton dimensions in the source array in ways that `getindex` does not, so we need to selectively drop singleton dimensions as we restrict the indices. A final complication is that the last index can be a linear index over many indices in either the source or destination.
4. Finally, if the entire DArray chunk isn't getting used, we need to shift the indices from step 2 to refer to the local part of the DArray.
Pull Request #74: Fix setindex! with SubDArray source

46 of 46 new or added lines in 1 file covered. (100.0%)

289 of 589 relevant lines covered (49.07%)

17377.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
100.0
src/DistributedArrays.jl

Uncovered Existing Lines

Lines Coverage ∆ File
180
100.0
src/DistributedArrays.jl
Jobs
ID Job ID Ran Files Coverage
2 248.2 07 Jul 2016 07:22PM UTC 0
49.07
Travis Job 248.2
4 248.4 07 Jul 2016 07:24PM UTC 0
48.73
Travis Job 248.4
Source Files on build 248
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #248
  • Pull Request #74
  • PR Base - master (#247)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc