vtk-m2/vtkm/cont/internal
Robert Maynard c123796949 VTK-m ArrayHandle can now take ownership of a user allocated memory location
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));
```
2018-04-04 11:28:25 -04:00
..
testing Switch over from static const to static constexpr where possible. 2018-03-10 11:39:58 -05:00
ArrayExportMacros.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
ArrayHandleBasicImpl.cxx Always defer to the serial allocator when allocating basic storage 2018-02-16 10:00:28 -05:00
ArrayHandleBasicImpl.h VTK-m ArrayHandle can now take ownership of a user allocated memory location 2018-04-04 11:28:25 -04:00
ArrayHandleBasicImpl.hxx VTK-m ArrayHandle can now take ownership of a user allocated memory location 2018-04-04 11:28:25 -04:00
ArrayHandleExecutionManager.h Remove ArrayHandle CopyInto 2017-10-27 17:28:59 -04:00
ArrayManagerExecution.h Misc. typos 2018-01-30 06:51:47 -05:00
ArrayManagerExecutionShareWithControl.cxx Refactor vtk-m storage basic to generate less code 2018-02-16 09:59:19 -05:00
ArrayManagerExecutionShareWithControl.h Refactor vtk-m storage basic to generate less code 2018-02-16 09:59:19 -05:00
ArrayPortalFromIterators.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
ArrayPortalShrink.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
ArrayTransfer.h Remove ArrayHandle CopyInto 2017-10-27 17:28:59 -04:00
CMakeLists.txt Make ForEachValidDevice internal 2018-01-09 17:23:26 -05:00
ConnectivityExplicitInternals.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
DeviceAdapterAlgorithmGeneral.h Switch over from static const to static constexpr where possible. 2018-03-10 11:39:58 -05:00
DeviceAdapterDefaultSelection.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
DeviceAdapterError.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
DeviceAdapterListHelpers.h Make ForEachValidDevice internal 2018-01-09 17:23:26 -05:00
DeviceAdapterTag.h Switch over from static const to static constexpr where possible. 2018-03-10 11:39:58 -05:00
DynamicTransform.h add vtkm::cont::ConditionalCastAndCall 2018-03-06 15:54:46 -05:00
FunctorsGeneral.h Generalize and documentation for DeviceAdapterAlgorithm::Transform 2018-01-16 14:43:31 -07:00
IteratorFromArrayPortal.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
SimplePolymorphicContainer.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
SimplePolymorphicContainer.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
StorageError.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
VirtualObjectTransfer.h Switch from faux to true virtuals 2017-11-06 15:25:29 -05:00
VirtualObjectTransferShareWithControl.h Switch from faux to true virtuals 2017-11-06 15:25:29 -05:00