summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2024-02-26 20:29:25 -0500
committerJoshua Bakita <jbakita@cs.unc.edu>2024-02-26 20:29:25 -0500
commit340457bd5dae3624d4c92a02b84fb8206c0348a9 (patch)
tree561baa1d81e9a41b48066f547435e43613106bc4 /Makefile
parent5c65954998591bc61a4138024ba4895bed64a8a6 (diff)
Add measure_launch_oh benchmark and make target
Benchmark supports: => Warms up the GPU and kernel code before sampling => Uses a flag in zero-copy memory to track when a kernel begins => Outputs summary statistics to stderr, and sample data to stdout
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 688d73d..1956d72 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1.PHONY: all copy_experiments clean 1.PHONY: all copy_experiments clean
2NVCC ?= nvcc 2NVCC ?= nvcc
3 3
4all: constant_cycles_kernel preemption_logger copy_experiments 4all: constant_cycles_kernel preemption_logger copy_experiments measure_launch_oh
5 5
6constant_cycles_kernel: constant_cycles_kernel.cu testbench.h 6constant_cycles_kernel: constant_cycles_kernel.cu testbench.h
7 $(NVCC) constant_cycles_kernel.cu -o constant_cycles_kernel 7 $(NVCC) constant_cycles_kernel.cu -o constant_cycles_kernel
@@ -9,9 +9,12 @@ constant_cycles_kernel: constant_cycles_kernel.cu testbench.h
9preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h 9preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h
10 $(NVCC) preemption_logger.cu -o preemption_logger -g 10 $(NVCC) preemption_logger.cu -o preemption_logger -g
11 11
12measure_launch_oh: measure_launch_oh.cu testbench.h
13 $(NVCC) measure_launch_oh.cu -o measure_launch_oh
14
12copy_experiments: 15copy_experiments:
13 $(MAKE) -C $@ 16 $(MAKE) -C $@
14 17
15clean: 18clean:
16 rm -f constant_cycles_kernel preemption_logger 19 rm -f constant_cycles_kernel preemption_logger measure_launch_oh
17 $(MAKE) -C copy_experiments clean 20 $(MAKE) -C copy_experiments clean