Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 46b26052 authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

Override StarPU's number of CPU only if provided by Chameleon's user

Need StarPU commit 7b21ab4e50e34f0e92823610f8152d1dfa19b8eb to be
effective
parent bf808f73
No related branches found
No related tags found
1 merge request!194Override StarPU's number of CPU only if provided by Chameleon's user
...@@ -76,7 +76,9 @@ int RUNTIME_init( CHAM_context_t *chamctxt, ...@@ -76,7 +76,9 @@ int RUNTIME_init( CHAM_context_t *chamctxt,
return 0; return 0;
} }
conf->ncpus = ncpus; if (ncpus != -1) {
conf->ncpus = ncpus;
}
conf->ncuda = ncudas; conf->ncuda = ncudas;
conf->nopencl = 0; conf->nopencl = 0;
......
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