summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1956d72b23f78aaa3f2f773e43e4c6a0b1185244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: all copy_experiments clean
NVCC ?= nvcc

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

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 measure_launch_oh
	$(MAKE) -C copy_experiments clean