Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mini] fix print statement for small DSTs using rocFFT #892

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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