Repository navigation
Quadratic and cubic B-spline deposit and gather over all patches in one compiled call, and a vectorized accumulation schedule - #77
Merged
Conversation
…d tags from marker counts.
…ed by marker counts.
…, owners by rank table, and regrid(fields=).
…able, halo signatures as arrays.
…ches in one compiled call.
…d block kernels for degrees 2 and 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scatter_blocksandgather_blocks(with NumPy fallbacks):depositandinterpolatewith mpifield's quadratic and cubic B-splines add the markers of all patches in one call into a buffer of the blocks, using mpifield'sspline_cell. Cloud-in-cell keeps thebincountpath, which is faster for degree 1; other shapes keep their kernels per patch. A rank without markers skips the kernels.accumulate_halosschedule is built from the nodes of all local patches at once instead of patch by patch (68 to 11 ms on the 386 blocks of 8 of the quadtree benchmark).Timings (one rank, 386 blocks of 8, 200 000 markers; per-patch kernels → one call): deposit 58 → 50 ms (degree 2), 60 → 61 ms (degree 3); gather 74 → 49 and 57 → 51 ms. The quadtree benchmark's deposit with blocks of 8 goes from 65 to 48 ms; the rest is within noise (
benchmarks/quadtree/RESULTS.md).