Loading...
Searching...
No Matches
MpiCommunicator.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) gpridge developers
3
4#ifndef GPR_LINALG_MPI_COMMUNICATOR_H_
5#define GPR_LINALG_MPI_COMMUNICATOR_H_
6
7#include "MpiContext.h"
8
9namespace gpr::linalg {
10
17public:
18 explicit MpiCommunicator(MpiCommType source);
20
23
24 [[nodiscard]] MpiContext view() const noexcept
25 {
26 return view_;
27 }
28
29private:
30 MpiContext view_;
31};
32
33} // namespace gpr::linalg
34
35#endif
Tiny value type describing the MPI dispatch context for a probe loop.
MpiCommunicator(const MpiCommunicator &)=delete
MpiCommunicator & operator=(const MpiCommunicator &)=delete
MpiCommunicator(MpiCommType source)
MpiContext view() const noexcept
Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators,...
int MpiCommType
Definition MpiContext.h:55