diff options
| author | Joshua Bakita <bakitajoshua@gmail.com> | 2023-06-13 08:24:26 -0400 |
|---|---|---|
| committer | Joshua Bakita <bakitajoshua@gmail.com> | 2023-06-13 08:24:26 -0400 |
| commit | d82c60cbfb35697b1dbd579eccc35e0d7902e453 (patch) | |
| tree | 845d8c88c5753f7eaa055b8c3e821ef76e7a6ce3 /copy_experiments/Makefile | |
| parent | 5ba80e14efb595688a3dc3d49c212bc393840513 (diff) | |
Add mon_cross_ctx_copies benchmark and make target
Benchmark supports:
=> Generating parallel copies from CPU to GPU in seperate process
=> Granular timestamping of when each portion of the copy completes
=> Monitoring of copy process from either CPU or GPU
=> Tested on platforms including the GV100 and GV11B
Formerly known as diff_ctx_diff_stream.
*** Warning ***
* The current implementation requires some hardcoded parameters
* (such as the number of monitoring threads on the GPU) to be
* updated and recompiled when switching test platform.
***
Diffstat (limited to 'copy_experiments/Makefile')
| -rw-r--r-- | copy_experiments/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/copy_experiments/Makefile b/copy_experiments/Makefile index b6b5a38..6ccec54 100644 --- a/copy_experiments/Makefile +++ b/copy_experiments/Makefile | |||
| @@ -1,2 +1,10 @@ | |||
| 1 | .PHONY: all | ||
| 2 | |||
| 3 | all: copy_contender mon_cross_ctx_copies | ||
| 4 | |||
| 1 | copy_contender: copy_contender.cu copy_testbench.h ../testbench.h | 5 | copy_contender: copy_contender.cu copy_testbench.h ../testbench.h |
| 2 | /usr/local/cuda/bin/nvcc copy_contender.cu -o $@ -lcuda -g | 6 | /usr/local/cuda/bin/nvcc copy_contender.cu -o $@ -lcuda -g |
| 7 | |||
| 8 | mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h | ||
| 9 | /usr/local/cuda/bin/nvcc mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g | ||
| 10 | |||
