diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6922730 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,20 @@ | |||
1 | all: gpu_paging_speed paging_speed directio_paging_speed gpu_paging_evil_task gpu_paging_overhead_speed \ | ||
2 | demand_paging_speed | ||
3 | |||
4 | gpu_paging_speed: gpu_paging_speed.cu | ||
5 | /usr/local/cuda/bin/nvcc -gencode=arch=compute_72,code=sm_72 $^ -o $@ -lcuda | ||
6 | |||
7 | gpu_paging_overhead_speed: gpu_paging_overhead_speed.cu | ||
8 | /usr/local/cuda/bin/nvcc -gencode=arch=compute_72,code=sm_72 $^ -o $@ -lcuda | ||
9 | |||
10 | gpu_paging_evil_task: gpu_paging_evil_task.cu | ||
11 | /usr/local/cuda/bin/nvcc -gencode=arch=compute_72,code=sm_72 $^ -o $@ -lcuda | ||
12 | |||
13 | directio_paging_speed: directio_paging_speed.c | ||
14 | gcc $^ -o $@ | ||
15 | |||
16 | demand_paging_speed: demand_paging_speed.c | ||
17 | gcc $^ -o $@ | ||
18 | |||
19 | paging_speed: paging_speed.c | ||
20 | gcc $^ -o $@ | ||