vtk-m2/vtkm/cont/cuda
Robert Maynard 707970f492 VTK-m StorageBasic is now able to give/take ownership of user allocated memory.
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.
2018-04-04 11:27:57 -04:00
..
internal VTK-m StorageBasic is now able to give/take ownership of user allocated memory. 2018-04-04 11:27:57 -04:00
testing Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
ChooseCudaDevice.h Enable highest level of warnings(W4) under MSVC 2017-09-22 13:04:28 -04:00
CMakeLists.txt Update copyright for Sandia 2017-09-20 15:33:44 -06:00
DeviceAdapterCuda.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
ErrorCuda.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00