Skip to content

Commit

Permalink
need another beer
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed Jan 13, 2024
1 parent 20a31ae commit 6f58606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/Cuda/Kokkos_Cuda_Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,8 @@ void Cuda::impl_finalize() {
auto &deep_copy_space = Impl::cuda_get_deep_copy_space(/*initialize*/ false);
if (deep_copy_space)
deep_copy_space->impl_internal_space_instance()->finalize();
KOKKOS_IMPL_CUDA_SAFE_CALL(cudaStreamDestroy(cuda_get_deep_copy_stream()));
KOKKOS_IMPL_CUDA_SAFE_CALL(
cudaStreamDestroy(Impl::cuda_get_deep_copy_stream()));

Impl::CudaInternal::singleton().finalize();
}
Expand Down

0 comments on commit 6f58606

Please sign in to comment.