1. 06 Dec, 2018 1 commit
  2. 23 Oct, 2018 1 commit
  3. 25 Sep, 2018 1 commit
  4. 05 Jun, 2018 1 commit
  5. 04 Apr, 2018 1 commit
    • Robert Maynard's avatar
      VTK-m ArrayHandle can now take ownership of a user allocated memory location · c1237969
      Robert Maynard authored
      Previously memory that was allocated outside of VTK-m was impossible to transfer to
      VTK-m as we didn't know how to free it. By extending the ArrayHandle constructors
      to support a Storage object that is being moved, we can clearly express that
      the ArrayHandle now owns memory it didn't allocate.
      
      Here is an example of how this is done:
      ```cpp
        T* buffer = new T[100];
        auto user_free_function = [](void* ptr) { delete[] static_cast<T*>(ptr); };
      
        vtkm::cont::internal::Storage<T, vtkm::cont::StorageTagBasic>
            storage(buffer, 100, user_free_function);
        vtkm::cont::ArrayHandle<T> arrayHandle(std::move(storage));
      ```
      c1237969
  6. 16 Feb, 2018 1 commit
  7. 27 Oct, 2017 1 commit
  8. 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
      accordingly.
      c3a3184d
  9. 07 Aug, 2017 1 commit
  10. 26 May, 2017 1 commit
  11. 25 May, 2017 1 commit
  12. 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.
      72654641
  13. 14 Feb, 2017 2 commits
  14. 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.
      f601e38b
  15. 16 Jan, 2017 1 commit