Skip to content
Snippets Groups Projects
Commit 2efc522c authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing memory bandwidth

parent d06c761d
No related branches found
No related tags found
No related merge requests found
Pipeline #4016 passed
...@@ -53,10 +53,10 @@ memBW: $(OBJ) ...@@ -53,10 +53,10 @@ memBW: $(OBJ)
all: memBW all: memBW
run: memBW run: memBW
mpirun --oversubscribe -np 2 ./miniBUDE mpirun --oversubscribe -np 2 ./memBW
.PHONY: clean all run .PHONY: clean all run
clean: clean:
rm -f *.o *~ core miniBUDE rm -f *.o *~ core memBW
...@@ -48,10 +48,10 @@ int main(int argc, char *argv[]) ...@@ -48,10 +48,10 @@ int main(int argc, char *argv[])
timer t; timer t;
t.start(); t.start();
auto vout = out.toKernel(); // auto v_out = out.toKernel();
auto vin = in.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(); cudaDeviceSynchronize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment