1. 30 Apr, 2019 1 commit
  2. 17 Apr, 2019 1 commit
  3. 09 Apr, 2019 1 commit
  4. 16 Jan, 2019 1 commit
  5. 27 Dec, 2018 1 commit
  6. 24 Oct, 2018 1 commit
  7. 05 Jun, 2018 2 commits
    • Kenneth Moreland's avatar
      Add ability to "allocate" implicit storage · e62091a6
      Kenneth Moreland authored
      Previously, it was not possible to call Allocate or Shrink on an
      implicit storage. The reason for this is that the implicit storage does
      not represent any real memory and any attempt to modify it is wrong.
      However, there are some rare cases where ArrayHandle will attempt to
      "allocate" the storage even when behaving in a read-only manner. The use
      case this is being created for is when an ArrayHandleImplicit first
      calls ReleaseResources and then calls ReleaseResourcesExecution (or
      anything else that tries to get a control-side portal). In this case,
      the ReleaseResources makes the control side portal invalid and the
      ReleaseResourcesExecution attempts to make it valid again by allocating
      the storage to size 0. This change solves the problem by allowing the
      implicit storage to be "allocated" to something smaller than originally
    • Kitware Robot's avatar
      taotuple 2018-06-05 (ae493658) · 2d7ae33d
      Kitware Robot authored
      Code extracted from:
      at commit ae4936580baf117373e73c23f0f8407d7589e6ff (for/vtk-m).
  8. 27 Oct, 2017 1 commit
  9. 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
  10. 17 Aug, 2017 1 commit
  11. 07 Aug, 2017 1 commit
  12. 26 May, 2017 1 commit
  13. 25 May, 2017 1 commit
  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.
  15. 16 Jan, 2017 1 commit
    • Robert Maynard's avatar
      StorageTags are now always exported to resolve future dynamic_cast issues. · d8d6fd17
      Robert Maynard authored
      Class that need to be passed across dynamic library boundaries such as
      DynamicArrayHandle need to be properly export. One of 'tricks' of this
      is that templated classes such as PolymorphicArrayHandleContainer need
      the Type and Storage types to have public visibility.
      This makes sure that all vtkm storage tags have public visibility so
      in the future we can transfer dynamic array handles across libraries.
  16. 16 Nov, 2016 1 commit
    • Kenneth Moreland's avatar
      Remove exports for header-only functions/methods · fdaccc22
      Kenneth Moreland authored
      Change the VTKM_CONT_EXPORT to VTKM_CONT. (Likewise for EXEC and
      EXEC_CONT.) Remove the inline from these macros so that they can be
      applied to everything, including implementations in a library.
      Because inline is not declared in these modifies, you have to add the
      keyword to functions and methods where the implementation is not inlined
      in the class.
  17. 22 Jun, 2016 1 commit
  18. 21 Jun, 2016 1 commit
  19. 20 Apr, 2016 1 commit
  20. 17 Sep, 2015 2 commits
    • hschroot's avatar
      Add additional control logic for CopyInto function · 2c55b15c
      hschroot authored
      Clean up comments and align code to 80 character width
    • hschroot's avatar
      CopyInto function for ArrayHandles · 20c1a048
      hschroot authored
      ArrayHandles in DAX have a CopyInto function which allows the user to copy an array handle's data into a compatible STL type iterator. Originally this was fairly straight forward to implement since array handles in DAX are templated on the DeviceAdapterTag. In contrast, VTKm array handles use a polymorphic ArrayHandleExecutionManager under the hood allowing a single array handle to interface with multiple devices at runtime. To achieve this virtual functions are used. This makes implementing the CopyInto function difficult since it is templated on the IteratorType and virtual functions cannot be templated.
      To work around this, I've implemented a concrete templated CopyInto function in the class derived from ArrayHandleExecutionManagerBase. In the ArrayHandle class, CopyInto dynamically casts the base class into the derived class, then calls the CopyInto function defined in the derived class.
      The drawback to this approach is that, should the user define their own class that inherits from ArrayHandleExectionManagerBase, they are not forced to implement the CopyInto function, unlike the other virtual functions.
  21. 29 Jun, 2015 1 commit
  22. 21 May, 2015 1 commit
  23. 30 Apr, 2015 2 commits
    • Kenneth Moreland's avatar
      Change storage references to storage pointers. · e14fc427
      Kenneth Moreland authored
      Previously ArrayTransfer and ArrayManagerExecution received a reference
      to a Storage class in their constructor and held the reference as an
      ivar. In retrospect, this is just asking for trouble. First, it is way
      too easy to pass by value when you mean to pass by reference. Second, if
      there ever is a bug where the Storage goes out of scope before the
      classes holding a reference, it is that much harder to debug.
    • Kenneth Moreland's avatar
      Change interface of ArrayTransfer to be more like ArrayHandle. · ec0adf8b
      Kenneth Moreland authored
      This includes changing methods like LoadDataForInput to PrepareForInput.
      It also changed the interface a bit to save a reference to the storage
      object. (Maybe it would be better to save a pointer?) These changes also
      extend up to the ArrayManagerExecution class, so it can effect device
      adapter implementations.
  24. 28 Apr, 2015 2 commits
    • Kenneth Moreland's avatar
      Remove LoadDataForInput that takes portals. · c5b831b7
      Kenneth Moreland authored
      This API change effects both ArrayTransfer and ArrayManagerExecution.
      This is in preparation for a future change to make the API more
      consistent with ArrayHandle.
    • Kenneth Moreland's avatar
      Remove UserPortal from ArrayHandle. · a2c28099
      Kenneth Moreland authored
      The UserPortal in ArrayHandle was used to copy a pointer the user
      created into an ArrayHandle to use in VTK-m algorithms. However, this is
      only really valid for a basic storage, so the functionality has been
      moved there, and you have to construct an ArrayHandle with a storage
      instead of an array portal.
  25. 20 Jan, 2015 1 commit
  26. 24 Jun, 2014 1 commit
    • Kenneth Moreland's avatar
      Change ArrayContainerControl to Storage. · 21823500
      Kenneth Moreland authored
      After a talk with Robert Maynard, we decided to change the name
      ArrayContainerControl to Storage. There are several reasons for this
      1. The name ArrayContainerControl is unwieldy. It is long, hard for
      humans to parse, and makes for long lines and wraparound. It is also
      hard to distinguish from other names like ArrayHandleFoo and
      2. The word container is getting overloaded. For example, there is a
      SimplePolymorphicContainer. Container is being used for an object that
      literally acts like a container for data. This class really manages
      3. The data does not necessarily have to be on the control side.
      Implicit containers store the data nowhere. Derivative containers might
      have all the real data on the execution side. It is possible in the
      future to have storage on the execution environment instead of the
      control (think interfacing with a simulator on the GPU).
      Storage is not a perfect word (what does implicit storage really mean?),
      but its the best English word we came up with.
  27. 11 Jun, 2014 2 commits
  28. 19 May, 2014 1 commit
  29. 03 Apr, 2014 1 commit
    • Kenneth Moreland's avatar
      Add a dynamic array handle. · d309fa7a
      Kenneth Moreland authored
      The dynamic array handle holds a reference to an array handle of an
      unknown type. It contains the ability to try to cast it to an instance
      of array handle or to try lists of types and containers.
      There is currently an issue that is causing the test code not to
      compile. It is the case that some combinations of types and containers
      are not compatible. For example, an implict container is bound to a
      certain type, and the container is undefined if they do not agree. There
      needs to be a mechanism to detect these invalid combinations and skip
      over them in the MTP for each.
  30. 07 Mar, 2014 1 commit
  31. 11 Feb, 2014 1 commit
  32. 10 Feb, 2014 1 commit