summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2023-06-09 19:38:01 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2023-06-09 19:38:01 -0400
commit5ba80e14efb595688a3dc3d49c212bc393840513 (patch)
tree87b57ee39eaf0c12603eb1b6f4ea9e0889a20e8e /Makefile
parente63404cfda97050b9d516232ceb4f918f48edcfc (diff)
Add constant_cycles_kernel benchmark + header split and Makefile
Benchmark supports: => Looping on the GPU for a specified number of iterations => Looping infinitely on the GPU => Logging the sum time (ns and ms) for all iterations to complete Also splits `testbench.h` out of `copy_testbench.h` for use in other benchmarks.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e81353d..7eaf03d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
1.PHONY: copy_experiments 1.PHONY: all copy_experiments
2
3all: constant_cycles_kernel copy_experiments
4
5constant_cycles_kernel: constant_cycles_kernel.cu testbench.h
6 nvcc constant_cycles_kernel.cu -o constant_cycles_kernel
2 7
3copy_experiments: 8copy_experiments:
4 $(MAKE) -C $@ 9 $(MAKE) -C $@