From 9125465699c6b8d14304ae8d08efa4eb78a5d6c5 Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Tue, 26 Nov 2024 22:11:30 +0900 Subject: [PATCH] remove unnecessary fence --- fft/unit_test/Test_Transform.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fft/unit_test/Test_Transform.cpp b/fft/unit_test/Test_Transform.cpp index f268f5e..60b36ba 100644 --- a/fft/unit_test/Test_Transform.cpp +++ b/fft/unit_test/Test_Transform.cpp @@ -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); @@ -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);