summaryrefslogtreecommitdiffstats
path: root/testbench.h
Commit message (Collapse)AuthorAge
* Add preemption_logger benchmark, make target, and fix d82c60cJoshua Bakita2023-07-06
| | | | | | | | | | | | | | | | 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.
* Add constant_cycles_kernel benchmark + header split and MakefileJoshua Bakita2023-06-09
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.