|
CHAMELEON 1.4.0
|
| int __chameleon_initparcomm | ( | int | ncpus, |
| int | ngpus, | ||
| int | nthreads_per_worker, | ||
| MPI_Comm | comm | ||
| ) |
Initialize CHAMELEON with number of cpus and gpus and threads per worker and using a given MPI communicator.
| [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). |
| [in] | comm | The MPI communicator. |
| CHAMELEON_SUCCESS | successful exit |
Definition at line 113 of file control.c.
References chameleon_context_create(), chameleon_fatal_error(), and chameleon_warning().
Referenced by __chameleon_initpar().