diff options
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | copy_experiments/Makefile | 4 |
2 files changed, 8 insertions, 2 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | .PHONY: all copy_experiments | 1 | .PHONY: all copy_experiments clean |
| 2 | 2 | ||
| 3 | all: constant_cycles_kernel copy_experiments | 3 | all: constant_cycles_kernel copy_experiments |
| 4 | 4 | ||
| @@ -7,3 +7,7 @@ constant_cycles_kernel: constant_cycles_kernel.cu testbench.h | |||
| 7 | 7 | ||
| 8 | copy_experiments: | 8 | copy_experiments: |
| 9 | $(MAKE) -C $@ | 9 | $(MAKE) -C $@ |
| 10 | |||
| 11 | clean: | ||
| 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 | ||
| 3 | all: copy_contender mon_cross_ctx_copies | 3 | all: copy_contender mon_cross_ctx_copies |
| 4 | 4 | ||
| @@ -8,3 +8,5 @@ copy_contender: copy_contender.cu copy_testbench.h ../testbench.h | |||
| 8 | mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h | 8 | mon_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 | ||
| 11 | clean: | ||
| 12 | rm -f copy_contender mon_cross_ctx_copies | ||
