summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2023-07-06 11:45:59 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2023-07-06 11:45:59 -0400
commite415e282be53a3d8264b67d22b4b15b518f71099 (patch)
treee57cfc4b8333ed2109bc8ab8629ae5308102054b /Makefile
parentb587ea88f62a207a18b6efa56025bc307e06d5ae (diff)
Add preemption_logger benchmark, make target, and fix d82c60c
Benchmark supports: => Spinning on-GPU until some number of preemptions have occured => Monitoring GPU scheduling by logging preempt and resume times => Logging the above as raw GPU, or converted CPU, times => Measuring launch overheads Also imports task_host_utilities.cu from cuda_scheduling_examiner as of commit 9fc0ca898ef64b82cbc3734c60405723650bc66f. This is needed for timing logic used in both preemption_logger and mon_cross_ctx_copies, thus the latter would not compile prior to this commit. Also adds a new testbench helper, and a .gitignore for binaries.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 16e17dd..9f6da4d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,16 @@
1.PHONY: all copy_experiments clean 1.PHONY: all copy_experiments clean
2 2
3all: constant_cycles_kernel copy_experiments 3all: constant_cycles_kernel preemption_logger copy_experiments
4 4
5constant_cycles_kernel: constant_cycles_kernel.cu testbench.h 5constant_cycles_kernel: constant_cycles_kernel.cu testbench.h
6 nvcc constant_cycles_kernel.cu -o constant_cycles_kernel 6 nvcc constant_cycles_kernel.cu -o constant_cycles_kernel
7 7
8preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h
9 nvcc preemption_logger.cu -o preemption_logger -g
10
8copy_experiments: 11copy_experiments:
9 $(MAKE) -C $@ 12 $(MAKE) -C $@
10 13
11clean: 14clean:
12 rm -f constant_cycles_kernel 15 rm -f constant_cycles_kernel preemption_logger
13 $(MAKE) -C copy_experiments clean 16 $(MAKE) -C copy_experiments clean