Skip to content

Commit

Permalink
using older llvm for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Apr 6, 2024
1 parent 7278e21 commit 779adf7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_Cuda_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ auto _create(const ExecutionSpace& exec_space, std::unique_ptr<PlanType>& plan,
auto [in_extents, out_extents, fft_extents, howmany] =
KokkosFFT::Impl::get_extents(in, out, axes);
int idist = std::accumulate(in_extents.begin(), in_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int odist = std::accumulate(out_extents.begin(), out_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int fft_size = std::accumulate(fft_extents.begin(), fft_extents.end(), 1,
std::multiplies<>());

Expand Down
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_HIP_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ auto _create(const ExecutionSpace& exec_space, std::unique_ptr<PlanType>& plan,
auto [in_extents, out_extents, fft_extents, howmany] =
KokkosFFT::Impl::get_extents(in, out, axes);
int idist = std::accumulate(in_extents.begin(), in_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int odist = std::accumulate(out_extents.begin(), out_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int fft_size = std::accumulate(fft_extents.begin(), fft_extents.end(), 1,
std::multiplies<>());

Expand Down
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_OpenMP_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ auto _create(const ExecutionSpace& exec_space, std::unique_ptr<PlanType>& plan,
auto [in_extents, out_extents, fft_extents, howmany] =
KokkosFFT::Impl::get_extents(in, out, axes);
int idist = std::accumulate(in_extents.begin(), in_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int odist = std::accumulate(out_extents.begin(), out_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int fft_size = std::accumulate(fft_extents.begin(), fft_extents.end(), 1,
std::multiplies<>());

Expand Down
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_ROCM_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ auto _create(const ExecutionSpace& exec_space, std::unique_ptr<PlanType>& plan,
auto [in_extents, out_extents, fft_extents, howmany] =
KokkosFFT::Impl::get_extents(in, out, axes);
int idist = std::accumulate(in_extents.begin(), in_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int odist = std::accumulate(out_extents.begin(), out_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int fft_size = std::accumulate(fft_extents.begin(), fft_extents.end(), 1,
std::multiplies<>());

Expand Down
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_SYCL_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ auto _create(const ExecutionSpace& exec_space, std::unique_ptr<PlanType>& plan,
auto [in_extents, out_extents, fft_extents, howmany] =
KokkosFFT::Impl::get_extents(in, out, axes);
int idist = std::accumulate(in_extents.begin(), in_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int odist = std::accumulate(out_extents.begin(), out_extents.end(), 1,
std::multiplies<>());
std::multiplies<>());
int fft_size = std::accumulate(fft_extents.begin(), fft_extents.end(), 1,
std::multiplies<>());

Expand Down

0 comments on commit 779adf7

Please sign in to comment.