1. 24 Oct, 2018 1 commit
  2. 05 Jun, 2018 1 commit
  3. 04 Apr, 2018 1 commit
    • Robert Maynard's avatar
      VTK-m StorageBasic is now able to give/take ownership of user allocated memory. · 707970f4
      Robert Maynard authored
      This fixes the three following issues with StorageBasic.
      1. Memory that was allocated by VTK-m and Stolen by the user needed the
      proper free function called which is generally StorageBasicAllocator::deallocate.
      But that was hard for the user to hold onto. So now we provide a function
      pointer to the correct free function.
      2. Memory that was allocated outside of VTK-m was impossible to transfer to
      VTK-m as we didn't know how to free it. This is now resolved by allowing the
      user to specify a free function to be called on release.
      3. When the CUDA backend allocates memory for an ArrayHandle that has no
      control representation, and the location we are running on supports concurrent
      managed access we want to specify that cuda managed memory as also the host memory.
      This requires that StorageBasic be able to call an arbitrary new delete function
      which is chosen at runtime.
  4. 16 Feb, 2018 1 commit
  5. 20 Sep, 2017 1 commit
    • Kenneth Moreland's avatar
      Update copyright for Sandia · c3a3184d
      Kenneth Moreland authored
      Sandia National Laboratories recently changed management from the
      Sandia Corporation to the National Technology & Engineering Solutions
      of Sandia, LLC (NTESS). The copyright statements need to be updated
  6. 19 Sep, 2017 1 commit
  7. 04 Sep, 2017 1 commit
  8. 18 Aug, 2017 1 commit
  9. 29 Jun, 2017 1 commit
    • David C. Lonie's avatar
      Refactor array transfer logic for basic storage. · b2c3e416
      David C. Lonie authored
      The old templated array transfer mechanism generated a lot of code
      that ended up doing a simple, type-agnostic memcpy for most devices.
      This patch specialized array handles for basic storage and uses a
      fast-path array transfer implementation. This reduces the size of the
      vtkm_cont library by 27% on gcc (from 6.2MB to 4.5MB).
  10. 25 May, 2017 1 commit
  11. 08 Mar, 2017 1 commit
    • Kenneth Moreland's avatar
      ArrayHandle reallocations of 0 · 72654641
      Kenneth Moreland authored
      The basic storage has an implicit invariant that if the size of the
      storage is 0 then the array is a null pointer. That invariant was broken
      if the array was allocated and then Shrink or Allocate was called with
      0. In that case, the array remained allocated by the size was set to 0.
      This fixes the problem by making sure a Shrink(0) actually does an
      Allocate(0) (to clear out the data) and that the basic storage always
      frees its memory when allocating a 0 sized array.
  12. 23 Feb, 2017 1 commit
  13. 07 Feb, 2017 1 commit
    • David C. Lonie's avatar
      Simplify exception hierarchy. · f601e38b
      David C. Lonie authored
      Remove the ErrorControl class such that all subclasses now inherit from
      error. Renamed all exception classes via s/ErrorControl/Error/.
      See issue #57.
  14. 16 Jan, 2017 1 commit