Skip to content
Snippets Groups Projects
  1. Dec 01, 2023
  2. Nov 29, 2023
  3. Nov 28, 2023
  4. Nov 27, 2023
  5. Nov 24, 2023
  6. Nov 23, 2023
  7. Nov 22, 2023
  8. Nov 21, 2023
  9. Nov 20, 2023
    • Andrew Heather's avatar
    • Mattijs Janssens's avatar
      Merge branch 'pstream-updates' into 'develop' · 11ecf55a
      Mattijs Janssens authored
      Extend some Pstream, PstreamBuffers and globalIndex functionality
      
      See merge request !640
      11ecf55a
    • Mark OLESEN's avatar
      ENH: extend mpiAllGather to include integer and float types · 88182011
      Mark OLESEN authored
      - was previously limited to 'char' whereas gatherv/scatterv
        already supported various integer and float types
      
      STYLE: rebundle allToAll declarations with macros
      
      ENH: provide a version of allToAllConsensus returning the Map
      
      - simplifies use and avoids ambiguities in the send/recv parameters
      
      - the Map version will now also transmit zero value data if they exist
        in the Map. Unlike the List version, zero values are not necessary to
        signal connectivity with a Map.
      
      COMP: forwarding template parameters for NBX routines
      
      ENH: consolidate PstreamBuffers size exchange options
      
      - had a variety of nearly identical backends for all-to-all,
        gather/scatter. Now combined internally with a dispatch enumeration
        which provides better control over which size exchange algorithm
        is used.
      
      DEFEATURE: remove experimental full-NBX PstreamBuffers variant
      
      - no advantages seen compared to the hybrid NBX/PEX approach.
        Removal reduces some code cruft.
      
      DEFEATURE: remove experimental "double non-blocking" NBX version
      
      - the idea was to avoid blocking receives for very large data transfers,
        but that is usually better accomplished with a hybrid NBX/PEX approach
        like PstreamBuffers allows
      88182011
    • Mark OLESEN's avatar
      ENH: globalIndex contains(), findProcAbove(), findProcBelow() methods · 3fd1b74b
      Mark OLESEN authored
      - these help when building upper or lower connected topologies.
        The new findProc() method is a non-failing whichProcID alternative
      3fd1b74b
    • Mark OLESEN's avatar
      ENH: globalIndex and CompactListList improvements · cfb75264
      Mark OLESEN authored
      - provide a globalIndex::calcOffsets() taking an indirect list, which
        enables convenient offsets calculation from a variety of inputs.
      
      - new CompactListList unpack variant: copy_unpack()
        The copy_unpack() works somewhat like std::copy() in that it writes
        the generated sublists to iterator positions, which makes this
        type of code possible:
      
            CompactListList<label> compact = ...;
            DynamicList<face> extracted;
      
            compact.copy_unpack<face>
            (
                std::back_inserter(extracted),
                labelRange(4, 10)
            );
      
        -and-
      
            const label nOldFaces = allFaces.size();
            allFaces.resize(allFaces + nNewFaces);
      
            auto iter = allFaces.begin(nOldFaces);
      
            iter = compact.copy_unpack<face>(iter, /* selection 1 */);
            ...
            iter = compact.copy_unpack<face>(iter, /* selection 2 */);
      
      ENH: globalIndex resize()
      
      - can be used to shrink or grow the offsets table.
        Any extension of the offsets table corresponds to '...
      cfb75264
    • Mark OLESEN's avatar
      STYLE: adjust globalIndex/CompactListList overflow reporting · ef201ecf
      Mark OLESEN authored
      - report location with previous good offset and the new count that
        would cause overflow. Simpler to report and the (very long) list
        of input sizes is not particularly useful for diagnostics either.
      
      ENH: add globalIndex comparison operators
      
      - for outputting lists of globalIndex
      ef201ecf
    • Mark OLESEN's avatar
      COMP: fix constexpr mismatches · 5e0cafa6
      Mark OLESEN authored
      5e0cafa6
  10. Nov 18, 2023