Skip to content

Commit

Permalink
remove unnecessary fence
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Nov 26, 2024
1 parent eb1d584 commit 9125465
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fft/unit_test/Test_Transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ void test_fft1_identity_inplace(T atol = 1.0e-12) {
Kokkos::deep_copy(a_ref, a);
Kokkos::deep_copy(ar_ref, ar);

Kokkos::fence();

KokkosFFT::fft(execution_space(), a, a_hat);
KokkosFFT::ifft(execution_space(), a_hat, inv_a_hat);

Expand All @@ -120,8 +118,6 @@ void test_fft1_identity_inplace(T atol = 1.0e-12) {
Kokkos::deep_copy(a_ref, a);
Kokkos::deep_copy(ar_ref, ar);

Kokkos::fence();

int axis = -1;
KokkosFFT::Plan fft_plan(execution_space(), a, a_hat,
KokkosFFT::Direction::forward, axis);
Expand Down

0 comments on commit 9125465

Please sign in to comment.