Skip to content

Redesign StorageBasic to allow modification of user provided memory.

The driving desire for this change was to make vtk-m ArrayHandle behave more like the standard vector. The canonical example of what we want to support is:

std::vector<vtkm::Id> values;
vtkm::cont::ArrayHandle<vtkm::Id> array = vtkm::cont::make_ArrayHandle(values);

And with-out the ability to modify user provided memory, this was impossible.

Merge request reports