diff options
| author | Joshua Bakita <bakitajoshua@gmail.com> | 2023-06-09 19:38:01 -0400 |
|---|---|---|
| committer | Joshua Bakita <bakitajoshua@gmail.com> | 2023-06-09 19:38:01 -0400 |
| commit | 5ba80e14efb595688a3dc3d49c212bc393840513 (patch) | |
| tree | 87b57ee39eaf0c12603eb1b6f4ea9e0889a20e8e /Makefile | |
| parent | e63404cfda97050b9d516232ceb4f918f48edcfc (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-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -1,4 +1,9 @@ | |||
| 1 | .PHONY: copy_experiments | 1 | .PHONY: all copy_experiments |
| 2 | |||
| 3 | all: constant_cycles_kernel copy_experiments | ||
| 4 | |||
| 5 | constant_cycles_kernel: constant_cycles_kernel.cu testbench.h | ||
| 6 | nvcc constant_cycles_kernel.cu -o constant_cycles_kernel | ||
| 2 | 7 | ||
| 3 | copy_experiments: | 8 | copy_experiments: |
| 4 | $(MAKE) -C $@ | 9 | $(MAKE) -C $@ |
