Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 72f70112 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'master' into 'master'

Allow to make k equal to n

See merge request !162
parents 8ba14f21 12cf02e9
No related branches found
No related tags found
1 merge request!162Allow to make k equal to n
......@@ -619,12 +619,13 @@ int
timing_main(int *iparam, char *prog_name, int start, int stop, int step) {
int status;
int i, m, n, mx, nx;
int i, m, n, k, mx, nx;
int nbnode = 1;
int success = 0;
n = iparam[IPARAM_N];
m = iparam[IPARAM_M];
k = iparam[IPARAM_K];
mx = iparam[IPARAM_MX];
nx = iparam[IPARAM_NX];
......@@ -703,6 +704,9 @@ timing_main(int *iparam, char *prog_name, int start, int stop, int step) {
if ( m == -1 ) {
iparam[IPARAM_M] = i;
}
if ( k == -1 ) {
iparam[IPARAM_K] = i;
}
iparam[IPARAM_N] = i;
}
status = Test( iparam[IPARAM_N], iparam );
......@@ -716,6 +720,9 @@ timing_main(int *iparam, char *prog_name, int start, int stop, int step) {
if ( m == -1 ) {
iparam[IPARAM_M] = n;
}
if ( k == -1 ) {
iparam[IPARAM_K] = n;
}
iparam[IPARAM_N] = n;
status = Test( iparam[IPARAM_N], iparam );
if (status != CHAMELEON_SUCCESS) return status;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment