diff --git a/common/unit_test/Test_Helpers.cpp b/common/unit_test/Test_Helpers.cpp index 7c56df3a..197d59c7 100644 --- a/common/unit_test/Test_Helpers.cpp +++ b/common/unit_test/Test_Helpers.cpp @@ -150,9 +150,9 @@ void test_get_shift(int direction) { KokkosFFT::axis_type<2> shift1_axis1_odd_ref = {0, direction * n2 / 2}; KokkosFFT::axis_type<2> shift1_axis1_even_ref = {0, direction * n2 / 2}; KokkosFFT::axis_type<2> shift2_odd_ref = {direction * n_odd / 2, - direction * n2 / 2}; + direction * n2 / 2}; KokkosFFT::axis_type<2> shift2_even_ref = {direction * n_even / 2, - direction * n2 / 2}; + direction * n2 / 2}; auto shift1_odd = KokkosFFT::Impl::get_shift( x1_odd, KokkosFFT::axis_type<1>({0}), direction); @@ -266,7 +266,7 @@ void test_fftshift1D_2DView(int n0) { if (n0 % 2 == 0) { _x_ref = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - -15, -14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1}; + -15, -14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1}; _y0_ref = { 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, -15, -14, -13, -12, -11, 10, 11, 12, 13, 14, -5, -4, -3, -2, -1, -10, -9, -8, -7, -6, @@ -276,7 +276,7 @@ void test_fftshift1D_2DView(int n0) { 10, 11, 12, 13, 14, -15, -14, -13, -12, -11}; } else { _x_ref = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1}; + -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1}; _y0_ref = {5, 6, 7, 8, 0, 1, 2, 3, 4, -13, -12, -11, -10, 9, 10, 11, 12, 13, -4, -3, -2, -1, -9, -8, -7, -6, -5}; _y1_ref = {-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, @@ -388,4 +388,3 @@ TEST_P(FFTShiftParamTests, 2DShift2DView) { INSTANTIATE_TEST_SUITE_P(FFTShift, FFTShiftParamTests, ::testing::Values(9, 10)); - \ No newline at end of file diff --git a/common/unit_test/Test_Layouts.cpp b/common/unit_test/Test_Layouts.cpp index ebf4c220..7c2208df 100644 --- a/common/unit_test/Test_Layouts.cpp +++ b/common/unit_test/Test_Layouts.cpp @@ -721,4 +721,4 @@ TYPED_TEST(Layouts2D, 2DFFT_3DView) { using layout_type = typename TestFixture::layout_type; test_layouts_2d_batched_FFT_3d(); -} \ No newline at end of file +} diff --git a/common/unit_test/Test_Normalization.cpp b/common/unit_test/Test_Normalization.cpp index 1db78a28..62f60d49 100644 --- a/common/unit_test/Test_Normalization.cpp +++ b/common/unit_test/Test_Normalization.cpp @@ -120,4 +120,4 @@ TEST(Normalization, None) { KokkosFFT::Direction::backward, KokkosFFT::Normalization::none, len); EXPECT_TRUE(allclose(x_b, ref_b, 1.e-5, 1.e-12)); -} \ No newline at end of file +} diff --git a/examples/01_1DFFT/01_1DFFT.cpp b/examples/01_1DFFT/01_1DFFT.cpp index 7b951ad0..99d439d2 100644 --- a/examples/01_1DFFT/01_1DFFT.cpp +++ b/examples/01_1DFFT/01_1DFFT.cpp @@ -47,4 +47,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +} diff --git a/examples/02_2DFFT/02_2DFFT.cpp b/examples/02_2DFFT/02_2DFFT.cpp index 68ec7b8e..48d7e357 100644 --- a/examples/02_2DFFT/02_2DFFT.cpp +++ b/examples/02_2DFFT/02_2DFFT.cpp @@ -47,4 +47,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +} diff --git a/examples/04_batchedFFT/04_batchedFFT.cpp b/examples/04_batchedFFT/04_batchedFFT.cpp index 0f8df3ce..0391b516 100644 --- a/examples/04_batchedFFT/04_batchedFFT.cpp +++ b/examples/04_batchedFFT/04_batchedFFT.cpp @@ -51,4 +51,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +} diff --git a/examples/05_1DFFT_HOST_DEVICE/05_1DFFT_HOST_DEVICE.cpp b/examples/05_1DFFT_HOST_DEVICE/05_1DFFT_HOST_DEVICE.cpp index 217b6a4a..2dc1c09c 100644 --- a/examples/05_1DFFT_HOST_DEVICE/05_1DFFT_HOST_DEVICE.cpp +++ b/examples/05_1DFFT_HOST_DEVICE/05_1DFFT_HOST_DEVICE.cpp @@ -82,4 +82,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +} diff --git a/examples/06_1DFFT_reuse_plans/06_1DFFT_reuse_plans.cpp b/examples/06_1DFFT_reuse_plans/06_1DFFT_reuse_plans.cpp index 17f7f6a8..0b478063 100644 --- a/examples/06_1DFFT_reuse_plans/06_1DFFT_reuse_plans.cpp +++ b/examples/06_1DFFT_reuse_plans/06_1DFFT_reuse_plans.cpp @@ -57,4 +57,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +} diff --git a/fft/src/KokkosFFT.hpp b/fft/src/KokkosFFT.hpp index b79384df..d3bdb8c5 100644 --- a/fft/src/KokkosFFT.hpp +++ b/fft/src/KokkosFFT.hpp @@ -11,4 +11,4 @@ #include "KokkosFFT_Plans.hpp" #include "KokkosFFT_Transform.hpp" -#endif \ No newline at end of file +#endif diff --git a/install_test/as_library/hello.cpp b/install_test/as_library/hello.cpp index 7b951ad0..99d439d2 100644 --- a/install_test/as_library/hello.cpp +++ b/install_test/as_library/hello.cpp @@ -47,4 +47,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +} diff --git a/install_test/as_subdirectory/hello.cpp b/install_test/as_subdirectory/hello.cpp index 68ec7b8e..48d7e357 100644 --- a/install_test/as_subdirectory/hello.cpp +++ b/install_test/as_subdirectory/hello.cpp @@ -47,4 +47,4 @@ int main(int argc, char* argv[]) { Kokkos::finalize(); return 0; -} \ No newline at end of file +}