Mentions légales du service

Skip to content
Snippets Groups Projects

Check that CHAMELEON_Init() was successful in testing

Merged Philippe SWARTVAGHER requested to merge pswartva/chameleon:check_chameleon_init into master
All threads resolved!
1 file
+ 1
4
Compare changes
  • Side-by-side
  • Inline
+ 1
4
@@ -82,7 +82,6 @@ int __chameleon_init(int cores, int gpus)
int __chameleon_initpar(int ncpus, int ncudas, int nthreads_per_worker)
{
CHAM_context_t *chamctxt;
int res = -1;
/* Create context and insert in the context map */
chamctxt = chameleon_context_create();
@@ -114,9 +113,7 @@ int __chameleon_initpar(int ncpus, int ncudas, int nthreads_per_worker)
}
#endif
res = RUNTIME_init( chamctxt, ncpus, ncudas, nthreads_per_worker );
return res == 0 ? CHAMELEON_SUCCESS : res;
return RUNTIME_init( chamctxt, ncpus, ncudas, nthreads_per_worker );
}
/**
Loading