From b40af5568dd555326748e1cd0193a2a767f7c959 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 17 May 2023 14:50:45 +0200 Subject: note that this benchmark is unfair --- SCAN-SSA/host/app.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SCAN-SSA') diff --git a/SCAN-SSA/host/app.c b/SCAN-SSA/host/app.c index 93650a8..2d1b186 100644 --- a/SCAN-SSA/host/app.c +++ b/SCAN-SSA/host/app.c @@ -47,6 +47,8 @@ static void read_input(T* A, unsigned int nr_elements, unsigned int nr_elements_ } // Compute output in the host +// XXX for a proper comparison, this function would need to use OpenMP or similar +// (i.e., a SCAN-SSA variant using multiple threads) static void scan_host(T* C, T* A, unsigned int nr_elements) { C[0] = A[0]; for (unsigned int i = 1; i < nr_elements; i++) { -- cgit v1.2.3