vtk-m2/vtkm/cont/kokkos/internal
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
..
CMakeLists.txt Add changes for supporting Kokkos/HIP 2021-10-01 15:27:00 -04:00
DeviceAdapterAlgorithmKokkos.cxx Don't require CUDA_LAUNCH_BLOCKING 2020-11-30 13:12:39 -05:00
DeviceAdapterAlgorithmKokkos.h KOKKOS: resolved issue with KOKKOS_LAMBDA 2021-08-24 13:14:58 -04:00
DeviceAdapterMemoryManagerKokkos.cxx use kokkos allocate whn oldSize is zero 2022-03-31 14:38:03 -04:00
DeviceAdapterMemoryManagerKokkos.h Add Kokkos backend 2020-08-12 13:55:24 -04:00
DeviceAdapterRuntimeDetectorKokkos.cxx Add Kokkos backend 2020-08-12 13:55:24 -04:00
DeviceAdapterRuntimeDetectorKokkos.h Add Kokkos backend 2020-08-12 13:55:24 -04:00
DeviceAdapterTagKokkos.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
KokkosAlloc.cxx Add test for array and datas that are cleaned up after finalize 2022-07-01 12:36:55 -06:00
KokkosAlloc.h Don't require CUDA_LAUNCH_BLOCKING 2020-11-30 13:12:39 -05:00
KokkosTypes.cxx Don't require CUDA_LAUNCH_BLOCKING 2020-11-30 13:12:39 -05:00
KokkosTypes.h Don't require CUDA_LAUNCH_BLOCKING 2020-11-30 13:12:39 -05:00
RuntimeDeviceConfigurationKokkos.h implement cuda runtime device configuraton 2021-09-02 09:12:21 -06:00
VirtualObjectTransferKokkos.h Completely deprecate virtual methods 2021-04-28 07:28:32 -06:00