Skip to content

Commit

Permalink
Kokkos::finalize before exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Jan 13, 2025
1 parent f92deb5 commit 284a0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fft/unit_test/Test_InitializeFinalize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ TEST_F(InitializeFinalize_Test, is_finalized) {
success &= !KokkosFFT::is_finalized();
KokkosFFT::finalize();
success &= KokkosFFT::is_finalized();
std::exit(success ? EXIT_SUCCESS : EXIT_FAILURE);
Kokkos::finalize();
std::exit(success ? EXIT_SUCCESS : EXIT_FAILURE);
},
::testing::ExitedWithCode(EXIT_SUCCESS), "");
}
Expand Down

0 comments on commit 284a0fb

Please sign in to comment.