From 2efc522cdf8d436f02506e3d8fa24a7c4391da0a Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Wed, 15 Dec 2021 12:15:52 +0100
Subject: [PATCH] Fixing memory bandwidth

---
 example/Performance/memBW/Makefile | 4 ++--
 example/Performance/memBW/main.cu  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/example/Performance/memBW/Makefile b/example/Performance/memBW/Makefile
index c1cb1db97..329fcab0e 100644
--- a/example/Performance/memBW/Makefile
+++ b/example/Performance/memBW/Makefile
@@ -53,10 +53,10 @@ memBW: $(OBJ)
 all: memBW
 
 run: memBW
-	mpirun --oversubscribe -np 2 ./miniBUDE
+	mpirun --oversubscribe -np 2 ./memBW
 
 .PHONY: clean all run
 
 clean:
-	rm -f *.o *~ core miniBUDE
+	rm -f *.o *~ core memBW
 
diff --git a/example/Performance/memBW/main.cu b/example/Performance/memBW/main.cu
index 07c516f7e..ae78ade4c 100644
--- a/example/Performance/memBW/main.cu
+++ b/example/Performance/memBW/main.cu
@@ -48,10 +48,10 @@ int main(int argc, char *argv[])
         timer t;
         t.start();
 
-	auto vout = out.toKernel();
-	auto vin = in.toKernel();
+//	auto v_out = out.toKernel();
+//	auto v_in = in.toKernel();
 
-        CUDA_LAUNCH(translate_fill_prop,ite,vout,vin);
+        CUDA_LAUNCH(translate_fill_prop,ite,out.toKernel(),in.toKernel());
 
         cudaDeviceSynchronize();
 
-- 
GitLab