diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2024-02-26 20:36:27 -0500 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2024-02-26 20:36:27 -0500 |
| commit | f1eb1f41ab81571d23654bb15af655c17152bcd6 (patch) | |
| tree | 326aaa0e84f44184dde924cf9d08d8ac30daaa04 /copy_experiments | |
| parent | d1576765658fc866bed806cbde969d39cc6a8dd8 (diff) | |
Ensure all benchmarks support --help and cleanup
Diffstat (limited to 'copy_experiments')
| -rw-r--r-- | copy_experiments/copy_contender.cu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/copy_experiments/copy_contender.cu b/copy_experiments/copy_contender.cu index 5514552..7e04c22 100644 --- a/copy_experiments/copy_contender.cu +++ b/copy_experiments/copy_contender.cu | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Copyright 2023 Joshua Bakita | 1 | /* Copyright 2024 Joshua Bakita |
| 2 | * Serially dispatch copies in one direction and record the transfer times | 2 | * Serially dispatch copies in one direction and record the transfer times |
| 3 | * In order to both record individual copy times, and maintain constant | 3 | * In order to both record individual copy times, and maintain constant |
| 4 | * pending copies, this program relies on the implict synchronization which | 4 | * pending copies, this program relies on the implict synchronization which |
| 5 | * occurs in CUDA when unidirectional copies are dispatched into seprat | 5 | * occurs in CUDA when unidirectional copies are dispatched into separate |
| 6 | * streams. | 6 | * streams. |
| 7 | * | 7 | * |
| 8 | * Parameters include the size of the copy to perform and the number of times | 8 | * Parameters include the size of the copy to perform and the number of times |
| @@ -20,7 +20,7 @@ typedef enum { | |||
| 20 | } copy_mode_t; | 20 | } copy_mode_t; |
| 21 | 21 | ||
| 22 | void usage(char** argv) { | 22 | void usage(char** argv) { |
| 23 | fprintf(stderr, "Usage: %s <# of 4KiB pages to copy> <# of iterations>" | 23 | fprintf(stderr, "Usage: %s <# of 4KiB pages to copy> <# of iterations> " |
| 24 | "<direction [to/from/peer] GPU>\n", argv[0]); | 24 | "<direction [to/from/peer] GPU>\n", argv[0]); |
| 25 | } | 25 | } |
| 26 | 26 | ||
