1. 28 Sep, 2021 1 commit
  2. 27 Sep, 2021 3 commits
  3. 24 Sep, 2021 2 commits
  4. 20 Sep, 2021 6 commits
  5. 17 Sep, 2021 6 commits
    • Kenneth Moreland's avatar
      Suppress deprecation warning for CellSetSingleType::GetCellShape · 050f47f8
      Kenneth Moreland authored
      The superclass method `CellSetExplicit::GetCellShape()` is marked
      deprecated because it is a slow way to access the cell shape. However,
      this deprecation is causing a warning with MSVC when implementing the
      subclass `CellSetSingleType`'s override of that method (which is not
      slow). Suppress this warning.
      050f47f8
    • Kenneth Moreland's avatar
      Compile reverse connectivity builder into vtkm_cont library · e74c0732
      Kenneth Moreland authored
      Because `CellSetExplicit` is a templated class, the implementation of
      most of its features is part of the header files. One of the things that
      was included was the code to build the reverse connectivity links. That
      is, it figured out which cells were incident on each point using the
      standard connections of which points comprise which cells.
      
      Of course, building these links is non-trivial, and it used multiple
      DPPs to engage the device. It meant that header had to include the
      device adapter algorithms and therefore required a device compiler. We
      want to minimize this where possible.
      
      To get around this issue, a non-templated function was added to find the
      reverse connections of a `CellSetExplicit`. It does this by passing in
      `UnknownArrayHandle`s for the input arrays. (The output visit-points-
      with-cells arrays are standard across all template instances.) The
      implementation first iterates over all `CellSetExplicit` versions in
      `VTKM_DEFAULT_CELL_S...
      e74c0732
    • Kenneth Moreland's avatar
      Merge topic 'consolidate-count-to-offset' · 585ac970
      Kenneth Moreland authored
      4c6522de Precompile ConvertNumComponentsToOffsets
      b1343474
      
       Consolidate count-to-offset algorithms
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Li-Ta Lo's avatarLi-Ta Lo <ollie@lanl.gov>
      Merge-request: !2580
      585ac970
    • Kenneth Moreland's avatar
      Merge topic 'warning-no-logging' · 44472f46
      Kenneth Moreland authored
      964ef29e
      
       Suppress warning when logging is turned off
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Vicente Bolea's avatarVicente Bolea <vicente.bolea@kitware.com>
      Merge-request: !2581
      44472f46
    • Kenneth Moreland's avatar
      Clarify ScanExtended · 35b64601
      Kenneth Moreland authored
      Make it more clear that ScanExtended increases the array size by
      1, what ranges the exclusive and inclusive scan cover, and the
      features of the first and last entries.
      35b64601
    • Kenneth Moreland's avatar
      Suppress warning when logging is turned off · 964ef29e
      Kenneth Moreland authored
      There was a case where a VTK-m exception was caught and then used in a
      logging message. That is fine, but if VTK-m logging is turned off, that
      code is removed and the exception variable goes unused.
      
      There was a time when it was common to have logging turned off in VTK-m,
      but now it is almost always on. There is one old-style dashboard that
      has logging turned off and is giving a warning about this variable not
      being used. It went unnoticed because the dashboard was down at the
      time. This should fix the issue.
      964ef29e
  6. 16 Sep, 2021 3 commits
    • Nickolas Davis's avatar
      Merge topic 'openmp-runtime-device-config' · b168c200
      Nickolas Davis authored
      277c3360 implement openmp runtime device configuration testing
      1c4d6810
      
       implement openmp runtime device configuration and update code to use it
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Kenneth Moreland's avatarKenneth Moreland <morelandkd@ornl.gov>
      Merge-request: !2573
      b168c200
    • Kenneth Moreland's avatar
      Precompile ConvertNumComponentsToOffsets · 4c6522de
      Kenneth Moreland authored
      `ConvertNumComponentsToOffsets` has been changed to provide a pre-
      compiled version for common arrays. This helps with the dual goals of
      compiling less device code and allowing data set builders to not have to
      use the device compiler. For cases where you need to compile
      `ConvertNumComponentsToOffsets` for a different kind of array, you can
      use the internal `ConvertNumComponentsToOffsetsTemplate`.
      4c6522de
    • Kenneth Moreland's avatar
      Consolidate count-to-offset algorithms · b1343474
      Kenneth Moreland authored
      For no particularly good reason, there were two functions that converted
      and array of counts to an array of offsets: `ConvertNumComponentsToOffsets`
      and `ConvertNumIndicesToOffsets`. These functions were identical, except
      one was defined in `ArrayHandleGroupVecVariable.h` and the other was
      defined in `CellSetExplicit.h`.
      
      These two functions have been consolidated into one (which is now called
      `ConvertNumComponentsToOffsets`). The consolidated function has also been
      put in its own header file: `ConvertNumComponentsToOffsets.h`.
      
      Normally, backward compatibility would be established using deprecated
      features. However, one of the things being worked on is the removal of
      device-specific code (e.g. `vtkm::cont::Algorithm`) from core classes like
      `CellSetExplicit` so that less code needs to use the device compiler
      (especially downstream code).
      
      Part of this change removed unnecessary includes of `Algorithm.h` in
      `ArrayHandleGroupVecVariable.h` and `CellSetExplicit.h`. Thi...
      b1343474
  7. 15 Sep, 2021 2 commits
  8. 09 Sep, 2021 2 commits
  9. 08 Sep, 2021 6 commits
  10. 02 Sep, 2021 9 commits