Skip to content

Commit

Permalink
fix print statement for small DSTs using rocFFT (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeverinDiederichs authored Mar 11, 2023
1 parent 692ad2d commit 326278b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fields/fft_poisson_solver/fft/WrapRocDST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ namespace AnyDST

std::size_t mb = 1024*1024;

amrex::Print() << "using C2R cuFFT of sizes " << s_1 << " and "
<< s_2 << " with " << (buffersize+mb-1)/mb << " MiB of work area\n";
amrex::Print() << "using C2R rocFFT of sizes " << s_1[0] << " and "
<< s_2[0] << " with " << (buffersize+mb-1)/mb << " MiB of work area\n";

// Store meta-data in dst_plan
dst_plan.m_position_array = position_array;
Expand Down

0 comments on commit 326278b

Please sign in to comment.