From 69a9c17fd15ed80d775982b4eb49d435f1a3c506 Mon Sep 17 00:00:00 2001 From: Raphael Boucherie <raphael.boucherie@inria.fr> Date: Mon, 26 Jun 2017 15:39:23 +0200 Subject: [PATCH] long option --- timing/timing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timing/timing.c b/timing/timing.c index 491ca1865..30a843b37 100644 --- a/timing/timing.c +++ b/timing/timing.c @@ -589,6 +589,7 @@ parse_arguments(int *_argc, char ***_argv, int *iparam, int *start, int *stop, i case 't' : iparam[IPARAM_THRDNBR ] = atoi(optarg); break; case 'g' : iparam[IPARAM_NCUDAS ] = atoi(optarg); break; case 'm' : iparam[IPARAM_M ] = atoi(optarg); break; + case 'n' : iparam[IPARAM_N ] = atoi(optarg); break; case 'k' : iparam[IPARAM_K ] = atoi(optarg); break; case 'i' : iparam[IPARAM_IB ] = atoi(optarg); break; case '1' : iparam[IPARAM_NITER ] = atoi(optarg); break; @@ -597,7 +598,7 @@ parse_arguments(int *_argc, char ***_argv, int *iparam, int *start, int *stop, i case 'a' : iparam[IPARAM_RHBLK ] = atoi(optarg); break; case 'P' : iparam[IPARAM_P ] = atoi(optarg); break; case 'M' : iparam[IPARAM_MODE ] = atoi(optarg); break; - case 'n' : iparam[IPARAM_NB ] = atoi(optarg); + case 'b' : iparam[IPARAM_NB ] = atoi(optarg); iparam[IPARAM_MB ] = atoi(optarg); break; case 'N' : get_range(optarg, start, stop, step); break; case 'h' : show_help(argv[0]); break; -- GitLab