CHAMELEON 1.4.0
Loading...
Searching...
No Matches

◆ __chameleon_initpar()

int __chameleon_initpar ( int  ncpus,
int  ngpus,
int  nthreads_per_worker 
)

Initialize CHAMELEON with number of cpus and gpus and threads per worker (using MPI_COMM_WORLD).

Parameters
[in]ncpusNumber of cores to use.
[in]ngpusNumber of cuda devices to use.
[in]nthreads_per_workerNumber of threads per worker (cpu, cuda device).
Return values
CHAMELEON_SUCCESSsuccessful exit

Definition at line 82 of file control.c.

References __chameleon_initparcomm().

Referenced by __chameleon_init().