diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2024-02-26 20:29:25 -0500 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2024-02-26 20:29:25 -0500 |
| commit | 340457bd5dae3624d4c92a02b84fb8206c0348a9 (patch) | |
| tree | 561baa1d81e9a41b48066f547435e43613106bc4 /Makefile | |
| parent | 5c65954998591bc61a4138024ba4895bed64a8a6 (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-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | .PHONY: all copy_experiments clean | 1 | .PHONY: all copy_experiments clean |
| 2 | NVCC ?= nvcc | 2 | NVCC ?= nvcc |
| 3 | 3 | ||
| 4 | all: constant_cycles_kernel preemption_logger copy_experiments | 4 | all: constant_cycles_kernel preemption_logger copy_experiments measure_launch_oh |
| 5 | 5 | ||
| 6 | constant_cycles_kernel: constant_cycles_kernel.cu testbench.h | 6 | constant_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 | |||
| 9 | preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h | 9 | preemption_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 | ||
| 12 | measure_launch_oh: measure_launch_oh.cu testbench.h | ||
| 13 | $(NVCC) measure_launch_oh.cu -o measure_launch_oh | ||
| 14 | |||
| 12 | copy_experiments: | 15 | copy_experiments: |
| 13 | $(MAKE) -C $@ | 16 | $(MAKE) -C $@ |
| 14 | 17 | ||
| 15 | clean: | 18 | clean: |
| 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 |
