Commit 28637327 authored by Mathieu Faverge's avatar Mathieu Faverge

Remove commented code

parent cbc1f643
......@@ -221,54 +221,3 @@ parse_arguments(int *_argc, char ***_argv, int *iparam)
iparam[IPARAM_NNODES] = iparam[IPARAM_P] * iparam[IPARAM_Q];
}
/*
static void
print_arguments(int* iparam)
{
int verbose = iparam[IPARAM_RANK] ? 0 : iparam[IPARAM_VERBOSE];
if(verbose)
fprintf(stderr, "#+++++ cores detected : %d\n", iparam[IPARAM_NCORES]);
if(verbose > 1) fprintf(stderr, "#+++++ nodes x cores + gpu : %d x %d + %d (%d+%d)\n"
"#+++++ P x Q : %d x %d (%d/%d)\n",
iparam[IPARAM_NNODES],
iparam[IPARAM_NCORES],
iparam[IPARAM_NGPUS],
iparam[IPARAM_NNODES] * iparam[IPARAM_NCORES],
iparam[IPARAM_NNODES] * iparam[IPARAM_NGPUS],
iparam[IPARAM_P], iparam[IPARAM_Q],
iparam[IPARAM_Q] * iparam[IPARAM_P], iparam[IPARAM_NNODES]);
if(verbose)
{
fprintf(stderr, "#+++++ M x N x K|NRHS : %d x %d x %d\n",
iparam[IPARAM_M], iparam[IPARAM_N], iparam[IPARAM_K]);
}
if(verbose > 2)
{
if(iparam[IPARAM_LDB] && iparam[IPARAM_LDC])
fprintf(stderr, "#+++++ LDA , LDB , LDC : %d , %d , %d\n", iparam[IPARAM_LDA], iparam[IPARAM_LDB], iparam[IPARAM_LDC]);
else if(iparam[IPARAM_LDB])
fprintf(stderr, "#+++++ LDA , LDB : %d , %d\n", iparam[IPARAM_LDA], iparam[IPARAM_LDB]);
else
fprintf(stderr, "#+++++ LDA : %d\n", iparam[IPARAM_LDA]);
}
if(verbose)
{
if(iparam[IPARAM_IB] > 0)
fprintf(stderr, "#+++++ MB x NB , IB : %d x %d , %d\n",
iparam[IPARAM_MB], iparam[IPARAM_NB], iparam[IPARAM_IB]);
else
fprintf(stderr, "#+++++ MB x NB : %d x %d\n",
iparam[IPARAM_MB], iparam[IPARAM_NB]);
if(iparam[IPARAM_SNB] * iparam[IPARAM_SMB] != 1)
fprintf(stderr, "#+++++ SMB x SNB : %d x %d\n", iparam[IPARAM_SMB], iparam[IPARAM_SNB]);
if((iparam[IPARAM_HNB] != iparam[IPARAM_NB]) || (iparam[IPARAM_HMB] != iparam[IPARAM_MB]))
fprintf(stderr, "#+++++ HMB x HNB : %d x %d\n", iparam[IPARAM_HMB], iparam[IPARAM_HNB]);
}
}
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment