Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Oct 24, 2024
1 parent 1788f06 commit 5d21e78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/unit_test/Test_Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ TEST(ToArray, rvalue) {

template <typename ValueType1, typename ValueType2>
void test_are_pointers_aliasing() {
using View1 = Kokkos::View<ValueType1*, execution_space>;
using View2 = Kokkos::View<ValueType2*, execution_space>;
using View1 = Kokkos::View<ValueType1*, execution_space>;
using View2 = Kokkos::View<ValueType2*, execution_space>;

const int n1 = 10;
// sizeof ValeuType2 is larger or equal to ValueType1
Expand Down
3 changes: 2 additions & 1 deletion fft/src/KokkosFFT_Plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ class Plan {
// For the in-place Complex to Real transform, the output must be
// reshaped to fit the original size (in.size() * 2) for correct
// normalization
Kokkos::View<out_value_type*, execSpace> out_tmp(out.data(), in.size() * 2);
Kokkos::View<out_value_type*, execSpace> out_tmp(out.data(),
in.size() * 2);
KokkosFFT::Impl::normalize(m_exec_space, out_tmp, m_direction, norm,
m_fft_size);
return;
Expand Down

0 comments on commit 5d21e78

Please sign in to comment.