|
Lightweight Parallel Foundations 1.0.1-alpha 2023-06-26T11:02:34Z
A high performance and model-compliant communication layer
|

Functions | |
| lpf_err_t | lpf_hybrid_initialize (CONCATENATE(lpf, pthread, LPF_CORE_IMPL_CONFIG, _t) thread, CONCATENATE(lpf, mpimsg, LPF_CORE_IMPL_CONFIG, _t) mpi, lpf_pid_t threadId, lpf_pid_t nThreads, lpf_pid_t nodeId, lpf_pid_t nNodes, lpf_init_t *init) |
| lpf_err_t | lpf_hybrid_finalize (lpf_init_t init) |
| lpf_err_t lpf_hybrid_initialize | ( | CONCATENATE(lpf, pthread, LPF_CORE_IMPL_CONFIG, _t) | thread, |
| CONCATENATE(lpf, mpimsg, LPF_CORE_IMPL_CONFIG, _t) | mpi, | ||
| lpf_pid_t | threadId, | ||
| lpf_pid_t | nThreads, | ||
| lpf_pid_t | nodeId, | ||
| lpf_pid_t | nNodes, | ||
| lpf_init_t * | init | ||
| ) |
Initialises a lpf_init_t object with LPF contexts from the Pthread implementation and an MPI-RMA implementation. This function must be called collectively by all threads that are in the Pthread and the MPI-RMA contexts.
| [in] | thread | The Pthread LPF context |
| [in] | mpi | The MPI-RMA LPF context |
| [in] | threadId | The pid in the Pthread context |
| [in] | nThreads | The number of threads in the Pthread context |
| [in] | nodeId | The pid in the MPI-RMA context |
| [in] | nNodes | the number of processes in the MPI-RMA context. |
| [out] | init | The lpf_init_t object that can be used through lpf_hook(). |
| lpf_err_t lpf_hybrid_finalize | ( | lpf_init_t | init | ) |