summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2022-09-12 20:49:21 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2022-09-12 20:49:21 -0400
commit75d438ded3eea9db9ed31f278bedf26d9ddaad7a (patch)
treec1cdd74f096ffda7172bae30166905047ee6efaf
parent909c37eeaa8060d983de8446540f091ed0d14a4d (diff)
Add Makefile and .gitignore
-rw-r--r--.gitignore8
-rw-r--r--Makefile20
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.*
2paging_speed
3directio_paging_speed
4demand_paging_speed
5gpu_paging_speed
6gpu_paging_overhead_speed
7gpu_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 @@
1all: gpu_paging_speed paging_speed directio_paging_speed gpu_paging_evil_task gpu_paging_overhead_speed \
2 demand_paging_speed
3
4gpu_paging_speed: gpu_paging_speed.cu
5 /usr/local/cuda/bin/nvcc -gencode=arch=compute_72,code=sm_72 $^ -o $@ -lcuda
6
7gpu_paging_overhead_speed: gpu_paging_overhead_speed.cu
8 /usr/local/cuda/bin/nvcc -gencode=arch=compute_72,code=sm_72 $^ -o $@ -lcuda
9
10gpu_paging_evil_task: gpu_paging_evil_task.cu
11 /usr/local/cuda/bin/nvcc -gencode=arch=compute_72,code=sm_72 $^ -o $@ -lcuda
12
13directio_paging_speed: directio_paging_speed.c
14 gcc $^ -o $@
15
16demand_paging_speed: demand_paging_speed.c
17 gcc $^ -o $@
18
19paging_speed: paging_speed.c
20 gcc $^ -o $@