Skip to content

Commit

Permalink
PortFFT reversed in/out
Browse files Browse the repository at this point in the history
  • Loading branch information
hjabird committed Jul 5, 2024
1 parent 23c4374 commit 2bab1d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/dft/backends/portfft/commit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ class portfft_commit final : public dft::detail::commit_impl<prec, dom> {
bwd_desc.placement = config_values.placement == config_value::INPLACE
? pfft::placement::IN_PLACE
: pfft::placement::OUT_OF_PLACE;
bwd_desc.forward_offset = static_cast<std::size_t>(stride_vecs.offset_bwd_in);
bwd_desc.backward_offset = static_cast<std::size_t>(stride_vecs.offset_bwd_out);
bwd_desc.forward_strides = { stride_vecs.bwd_in.cbegin() + 1, stride_vecs.bwd_in.cend() };
bwd_desc.backward_strides = { stride_vecs.bwd_out.cbegin() + 1,
stride_vecs.bwd_out.cend() };
bwd_desc.forward_offset = static_cast<std::size_t>(stride_vecs.offset_bwd_out);
bwd_desc.backward_offset = static_cast<std::size_t>(stride_vecs.offset_bwd_in);
bwd_desc.forward_strides = { stride_vecs.bwd_out.cbegin() + 1, stride_vecs.bwd_out.cend() };
bwd_desc.backward_strides = { stride_vecs.bwd_in.cbegin() + 1,
stride_vecs.bwd_in.cend() };
bwd_desc.forward_distance = static_cast<std::size_t>(config_values.fwd_dist);
bwd_desc.backward_distance = static_cast<std::size_t>(config_values.bwd_dist);

Expand Down

0 comments on commit 2bab1d5

Please sign in to comment.