diff --git a/src/program/generate.cpp b/src/program/generate.cpp index 9fff5e5a..e7cdc14d 100644 --- a/src/program/generate.cpp +++ b/src/program/generate.cpp @@ -7267,8 +7267,9 @@ int main(int argc, char** argv) { (d1.entries - ds0.entries) / (w * L), (d1.hits - ds0.hits) / (w * L), (d1.pcie - ds0.pcie) / (w * L)); for (int st = 0; st < n_stages; ++st) { // every stage's GPU profile, not only the first card's const std::string pr = stage_ver(st).profile_report(); - if (!pr.empty()) - std::fprintf(stderr, "strata decode GPU stages, stage %d (ms/window):%s\n", st, pr.c_str()); + if (pr.empty()) continue; + if (st == 0) std::fprintf(stderr, "strata decode GPU stages (ms/window):%s\n", pr.c_str()); // text as before + else std::fprintf(stderr, "strata decode GPU stages, stage %d (ms/window):%s\n", st, pr.c_str()); } } if (!cancelled) {