From e967108476f9dcc83b14a36023cbd8acf2c4ece2 Mon Sep 17 00:00:00 2001
From: Berenger Bramas <Berenger.Bramas@inria.fr>
Date: Fri, 8 Nov 2024 09:43:06 +0100
Subject: [PATCH] update bench

---
 Batch/run-benchs.sh                    | 4 ++--
 Benchmark/particles/particles-simu.cpp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Batch/run-benchs.sh b/Batch/run-benchs.sh
index 3340dd6..f9d9d12 100644
--- a/Batch/run-benchs.sh
+++ b/Batch/run-benchs.sh
@@ -54,7 +54,7 @@ function main(){
     NB_LOOPS=10
 
     # AXPY
-    "$RUN_DIR/Benchmark/axpy/axpy" --lp=$NB_LOOPS --minnbb=16 --maxnbb=256 --minbs=128 --maxbs=131072 --gputh=256 --od="$results_dir" >> "$results_dir/output_axpy.txt"
+    "$RUN_DIR/Benchmark/axpy/axpy" --lp=$NB_LOOPS --minnbb=256 --maxnbb=1024 --minbs=131072 --maxbs=524288 --gputh=256 --od="$results_dir" >> "$results_dir/output_axpy.txt"
     remove_core_files
 
     # Cholesky/gemm
@@ -65,7 +65,7 @@ function main(){
     remove_core_files
 
     # Particles
-    "$RUN_DIR/Benchmark/particles/particles-simu" --lp=$NB_LOOPS --minp=500 --maxp=15000 --minnbgroups=128 --maxnbgroups=1024 --od="$results_dir" >> "$results_dir/output_particles.txt"
+    "$RUN_DIR/Benchmark/particles/particles-simu" --lp=$NB_LOOPS --minp=500 --maxp=512 --minnbgroups=128 --maxnbgroups=1024 --od="$results_dir" >> "$results_dir/output_particles.txt"
     remove_core_files
 }
 
diff --git a/Benchmark/particles/particles-simu.cpp b/Benchmark/particles/particles-simu.cpp
index 4360854..94adf1d 100644
--- a/Benchmark/particles/particles-simu.cpp
+++ b/Benchmark/particles/particles-simu.cpp
@@ -960,7 +960,7 @@ void BenchmarkTest(int argc, char** argv, const TuneResult& inKernelConfig){
                 const bool usePrioPairs = std::get<1>(useMultiprioAndPairs);
                 const bool useLocality = std::get<2>(useMultiprioAndPairs);
 
-                file << idxGpu << "," << idxBlock << "," 
+                file << nbCpus << "," << nbGpus << "," << idxBlock << "," 
                     << (useMultiprio?"TRUE":"FALSE") << ","
                         << (usePrioPairs?"TRUE":"FALSE") << ","
                         << (useLocality?"TRUE":"FALSE") << ","
-- 
GitLab