vtk-m/vtkm/cont/cuda/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
..
testing conslidate the license statement 2019-04-17 10:57:13 -06:00
CMakeLists.txt Implement RuntimeDeviceConfiguration 2021-06-17 17:56:38 +00:00
CudaAllocator.cu Add test for array and datas that are cleaned up after finalize 2022-07-01 12:36:55 -06:00
CudaAllocator.h conslidate the license statement 2019-04-17 10:57:13 -06:00
DeviceAdapterAlgorithmCuda.cu remove cudaGetDevice calls, favor runtime device config 2021-09-02 09:17:36 -06:00
DeviceAdapterAlgorithmCuda.h Do not assume CUDA reduce operator is unary 2021-03-03 09:39:51 -07:00
DeviceAdapterMemoryManagerCuda.cu Correct warnings found by using clang as the host compiler for cuda 2020-08-24 08:57:38 -04:00
DeviceAdapterMemoryManagerCuda.h Pin user provided memory in ArrayHandle 2020-06-25 14:02:46 -06:00
DeviceAdapterRuntimeDetectorCuda.cu conslidate the license statement 2019-04-17 10:57:13 -06:00
DeviceAdapterRuntimeDetectorCuda.cxx remove cudaGetDevice calls, favor runtime device config 2021-09-02 09:17:36 -06:00
DeviceAdapterRuntimeDetectorCuda.h conslidate the license statement 2019-04-17 10:57:13 -06:00
DeviceAdapterTagCuda.h Replace basic ArrayHandle implementation to use Buffers 2020-06-25 14:02:26 -06:00
DeviceAdapterTimerImplementationCuda.cu Port benchmarking framework to Google Benchmark. 2020-01-08 10:58:51 -05:00
DeviceAdapterTimerImplementationCuda.h conslidate the license statement 2019-04-17 10:57:13 -06:00
MakeThrustIterator.h Replace basic ArrayHandle implementation to use Buffers 2020-06-25 14:02:26 -06:00
RuntimeDeviceConfigurationCuda.h remove cudaGetDevice calls, favor runtime device config 2021-09-02 09:17:36 -06:00
ScopedCudaStackSize.h Add Kokkos backend 2020-08-12 13:55:24 -04:00
ThrustExceptionHandler.h Correct location of ThrustPatches which clang formatter moved 2019-04-23 15:02:58 -04:00
VirtualObjectTransferCuda.h Completely deprecate virtual methods 2021-04-28 07:28:32 -06:00