From 340457bd5dae3624d4c92a02b84fb8206c0348a9 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 26 Feb 2024 20:29:25 -0500 Subject: 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 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 688d73d..1956d72 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: all copy_experiments clean NVCC ?= nvcc -all: constant_cycles_kernel preemption_logger copy_experiments +all: constant_cycles_kernel preemption_logger copy_experiments measure_launch_oh constant_cycles_kernel: constant_cycles_kernel.cu testbench.h $(NVCC) constant_cycles_kernel.cu -o constant_cycles_kernel @@ -9,9 +9,12 @@ constant_cycles_kernel: constant_cycles_kernel.cu testbench.h preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h $(NVCC) preemption_logger.cu -o preemption_logger -g +measure_launch_oh: measure_launch_oh.cu testbench.h + $(NVCC) measure_launch_oh.cu -o measure_launch_oh + copy_experiments: $(MAKE) -C $@ clean: - rm -f constant_cycles_kernel preemption_logger + rm -f constant_cycles_kernel preemption_logger measure_launch_oh $(MAKE) -C copy_experiments clean -- cgit v1.2.2