summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--copy_experiments/Makefile4
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7eaf03d..16e17dd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1.PHONY: all copy_experiments 1.PHONY: all copy_experiments clean
2 2
3all: constant_cycles_kernel copy_experiments 3all: constant_cycles_kernel copy_experiments
4 4
@@ -7,3 +7,7 @@ constant_cycles_kernel: constant_cycles_kernel.cu testbench.h
7 7
8copy_experiments: 8copy_experiments:
9 $(MAKE) -C $@ 9 $(MAKE) -C $@
10
11clean:
12 rm -f constant_cycles_kernel
13 $(MAKE) -C copy_experiments clean
diff --git a/copy_experiments/Makefile b/copy_experiments/Makefile
index 6ccec54..b2d55c2 100644
--- a/copy_experiments/Makefile
+++ b/copy_experiments/Makefile
@@ -1,4 +1,4 @@
1.PHONY: all 1.PHONY: all clean
2 2
3all: copy_contender mon_cross_ctx_copies 3all: copy_contender mon_cross_ctx_copies
4 4
@@ -8,3 +8,5 @@ copy_contender: copy_contender.cu copy_testbench.h ../testbench.h
8mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h 8mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h
9 /usr/local/cuda/bin/nvcc mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g 9 /usr/local/cuda/bin/nvcc mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g
10 10
11clean:
12 rm -f copy_contender mon_cross_ctx_copies