|
CHAMELEON 1.4.0
|
| 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).
| [in] | ncpus | Number of cores to use. |
| [in] | ngpus | Number of cuda devices to use. |
| [in] | nthreads_per_worker | Number of threads per worker (cpu, cuda device). |
| CHAMELEON_SUCCESS | successful exit |
Definition at line 82 of file control.c.
References __chameleon_initparcomm().
Referenced by __chameleon_init().