Skip to content

Commit

Permalink
Merge branch 'sliced_poisson' of github.com:aeriforme/WarpX into slic…
Browse files Browse the repository at this point in the history
…ed_poisson
  • Loading branch information
aeriforme committed Oct 7, 2024
2 parents 0e68679 + b9c32ce commit ca5eefc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/ablastr/math/fft/WrapRocFFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ namespace ablastr::math::anyfft

const std::size_t roc_ostride[] = {AMREX_D_DECL( (dir == direction::R2C) ? std::size_t(ostride * (real_size[0]/2+1)) : std::size_t(ostride * real_size[0]),
std::size_t(ostride*real_size[1]),
std::size_t(ostride*real_size[2]))};
std::size_t(ostride*real_size[2]))};

rocfft_plan_description desc = nullptr;
rocfft_status result = rocfft_plan_description_set_data_layout(
desc,
(dir == direction::R2C) ? rocfft_array_type_real : rocfft_array_type_hermitian_interleaved,
(dir == direction::R2C) ? rocfft_array_type_hermitian_interleaved : rocfft_array_type_real,
(const size_t *) inembed,
(const size_t *) onembed,
(const size_t *) inembed,
(const size_t *) onembed,
dim,
roc_istride,
(const std::size_t)(idist),
Expand Down

0 comments on commit ca5eefc

Please sign in to comment.