vtk-m/vtkm/cont/cuda
Kenneth Moreland 9855db0961 Add test for array and datas that are cleaned up after finalize
It is the case that arrays might be deallocated from a device after the
device is closed. This can happen, for example, when an `ArrayHandle` is
declared globally. It gets constructed before VTK-m is initialized. This
is OK as long as you do not otherwise use it until VTK-m is initialized.
However, if you use that `ArrayHandle` to move data to a device and that
data is left on the device when the object closes, then the
`ArrayHandle` will be left holding a reference to invalid device memory
once the device is shut down. This can cause problems when the
`ArrayHandle` destructs itself and attempts to release this memory.

The VTK-m devices should gracefully handle deallocations that happen
after device shutdown.
2022-07-01 12:36:55 -06:00
..
internal Add test for array and datas that are cleaned up after finalize 2022-07-01 12:36:55 -06:00
testing implement cuda runtime device configuraton 2021-09-02 09:12:21 -06:00
ChooseCudaDevice.h fix include path 2021-11-19 12:15:53 -08:00
CMakeLists.txt cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
DeviceAdapterCuda.h Implement RuntimeDeviceConfiguration 2021-06-17 17:56:38 +00:00
ErrorCuda.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00