From d41ec55b9847d16f32ca47155f2cd7e4ea72386a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 May 2023 12:47:50 +0200 Subject: re-add (and, in some cases, fix) -x support --- Microbenchmarks/STREAM/host/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Microbenchmarks/STREAM/host') diff --git a/Microbenchmarks/STREAM/host/app.c b/Microbenchmarks/STREAM/host/app.c index e99d631..c75d71b 100644 --- a/Microbenchmarks/STREAM/host/app.c +++ b/Microbenchmarks/STREAM/host/app.c @@ -102,7 +102,7 @@ int main(int argc, char **argv) { unsigned int i = 0; double cc = 0; double cc_min = 0; - const unsigned int input_size = p.input_size * nr_of_dpus; + const unsigned int input_size = p.exp == 0 ? p.input_size * nr_of_dpus : p.input_size; #if defined(add) || defined(triad) const unsigned int n_arrays = 3; -- cgit v1.2.3