diff options
Diffstat (limited to 'constant_cycles_kernel.cu')
| -rw-r--r-- | constant_cycles_kernel.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/constant_cycles_kernel.cu b/constant_cycles_kernel.cu index db92b08..b45ae8c 100644 --- a/constant_cycles_kernel.cu +++ b/constant_cycles_kernel.cu | |||
| @@ -16,7 +16,7 @@ int main(int argc, char **argv) { | |||
| 16 | int res, *__unused; | 16 | int res, *__unused; |
| 17 | struct timespec start, end; | 17 | struct timespec start, end; |
| 18 | 18 | ||
| 19 | if (argc != 2) { | 19 | if (argc != 2 || !strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) { |
| 20 | fprintf(stderr, "Usage: %s <# of millions of iterations, or -1 for infinite>\n", | 20 | fprintf(stderr, "Usage: %s <# of millions of iterations, or -1 for infinite>\n", |
| 21 | argv[0]); | 21 | argv[0]); |
| 22 | return 1; | 22 | return 1; |
