diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2022-09-12 20:49:21 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2022-09-12 20:49:21 -0400 |
commit | 75d438ded3eea9db9ed31f278bedf26d9ddaad7a (patch) | |
tree | c1cdd74f096ffda7172bae30166905047ee6efaf | |
parent | 909c37eeaa8060d983de8446540f091ed0d14a4d (diff) |
Add Makefile and .gitignore
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | Makefile | 20 |
2 files changed, 28 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9b27a3 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,8 @@ | |||
1 | .* | ||
2 | paging_speed | ||
3 | directio_paging_speed | ||
4 | demand_paging_speed | ||
5 | gpu_paging_speed | ||
6 | gpu_paging_overhead_speed | ||
7 | gpu_paging_evil_task | ||
8 | |||
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 $@ | ||