From e6a2151b1773027482b2739f971e27a9f461d708 Mon Sep 17 00:00:00 2001 From: Junmin Gu Date: Mon, 9 Sep 2024 17:57:22 -0400 Subject: [PATCH] minor fix with tabs --- examples/8c_benchmark_ptl_parallel.cpp | 30 +++++++++++++++----------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/examples/8c_benchmark_ptl_parallel.cpp b/examples/8c_benchmark_ptl_parallel.cpp index 5c3892f59c..10e15259b7 100644 --- a/examples/8c_benchmark_ptl_parallel.cpp +++ b/examples/8c_benchmark_ptl_parallel.cpp @@ -317,6 +317,12 @@ std::vector getBackends(bool bpOnly) res.emplace_back(".bp"); #endif + if (bpOnly) { + if (res.size() == 0) + std::cerr<<" BP is not supported "< 0) { - if ( (vec[1][0] == 't') or (vec[1][0] == 'T') ) - input.m_UseJoinedDim = true; - } + if ( (vec[1][0] == 't') or (vec[1][0] == 'T') ) + input.m_UseJoinedDim = true; + } return; } @@ -509,17 +514,17 @@ void doWork(TestInput & input) if ( 0 < input.m_Backend.size() ) { BasicParticlePattern p(input); - p.printMe(); - p.run(); + p.printMe(); + p.run(); } else { for (auto const &which : backends) { input.m_Backend = which; - BasicParticlePattern p(input); - p.printMe(); - p.run(); + BasicParticlePattern p(input); + p.printMe(); + p.run(); } } } @@ -812,4 +817,3 @@ void BasicParticlePattern::printMe() << "\n\t NumPtls (millions) per rank/step: "<