diff options
| author | Joshua Bakita <bakitajoshua@gmail.com> | 2023-07-06 11:45:59 -0400 |
|---|---|---|
| committer | Joshua Bakita <bakitajoshua@gmail.com> | 2023-07-06 11:45:59 -0400 |
| commit | e415e282be53a3d8264b67d22b4b15b518f71099 (patch) | |
| tree | e57cfc4b8333ed2109bc8ab8629ae5308102054b /Makefile | |
| parent | b587ea88f62a207a18b6efa56025bc307e06d5ae (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-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,13 +1,16 @@ | |||
| 1 | .PHONY: all copy_experiments clean | 1 | .PHONY: all copy_experiments clean |
| 2 | 2 | ||
| 3 | all: constant_cycles_kernel copy_experiments | 3 | all: constant_cycles_kernel preemption_logger copy_experiments |
| 4 | 4 | ||
| 5 | constant_cycles_kernel: constant_cycles_kernel.cu testbench.h | 5 | constant_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 | ||
| 8 | preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h | ||
| 9 | nvcc preemption_logger.cu -o preemption_logger -g | ||
| 10 | |||
| 8 | copy_experiments: | 11 | copy_experiments: |
| 9 | $(MAKE) -C $@ | 12 | $(MAKE) -C $@ |
| 10 | 13 | ||
| 11 | clean: | 14 | clean: |
| 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 |
