From e78e4bfeebe7b706d278ebcf7befee0ee51345e5 Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Mon, 13 Dec 2021 20:44:22 +0100 Subject: [PATCH] Fixing memBW --- example/Performance/memBW/Makefile | 6 +++--- example/Performance/memBW/main.cu | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/Performance/memBW/Makefile b/example/Performance/memBW/Makefile index a5198f186..c44bd35de 100644 --- a/example/Performance/memBW/Makefile +++ b/example/Performance/memBW/Makefile @@ -47,12 +47,12 @@ miniBUDE: %.o: %.cpp $(CC) -g -O3 $(OPT) -g -c --std=c++14 -o $@ $< $(INCLUDE_PATH) -miniBUDE: $(OBJ) +memBW: $(OBJ) $(CUDA_CC_LINK) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS_SELECT) -all: miniBUDE +all: memBW -run: miniBUDE +run: memBW mpirun --oversubscribe -np 2 ./miniBUDE .PHONY: clean all run diff --git a/example/Performance/memBW/main.cu b/example/Performance/memBW/main.cu index dd08ed890..07c516f7e 100644 --- a/example/Performance/memBW/main.cu +++ b/example/Performance/memBW/main.cu @@ -3,7 +3,7 @@ template<typename vector_type, typename vector_type2> -__attribute__((always_inline)) inline __global__ void translate_fill_prop(vector_type & vd_out, vector_type2 & vd_in) +inline __global__ void translate_fill_prop(vector_type vd_out, vector_type2 vd_in) { auto p = blockIdx.x * blockDim.x + threadIdx.x; -- GitLab