From 326278bad001a45f81317a59c8dd8752afcad493 Mon Sep 17 00:00:00 2001 From: Severin Diederichs <65728274+SeverinDiederichs@users.noreply.github.com> Date: Sat, 11 Mar 2023 09:38:46 +0100 Subject: [PATCH] fix print statement for small DSTs using rocFFT (#892) --- src/fields/fft_poisson_solver/fft/WrapRocDST.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp b/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp index ff0bcd24e0..688ad461de 100644 --- a/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp @@ -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;