mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 21:30:35 +05:00
mpirequests::Reset
This commit is contained in:
parent
ad5c50eef5
commit
eead94dfc1
@ -95,6 +95,8 @@ namespace ngcore
|
|||||||
public:
|
public:
|
||||||
NgMPI_Requests() = default;
|
NgMPI_Requests() = default;
|
||||||
~NgMPI_Requests() { WaitAll(); }
|
~NgMPI_Requests() { WaitAll(); }
|
||||||
|
|
||||||
|
void Reset() { requests.SetSize0(); }
|
||||||
|
|
||||||
NgMPI_Requests & operator+= (NgMPI_Request && r)
|
NgMPI_Requests & operator+= (NgMPI_Request && r)
|
||||||
{
|
{
|
||||||
@ -539,6 +541,7 @@ namespace ngcore
|
|||||||
public:
|
public:
|
||||||
NgMPI_Requests & operator+= (NgMPI_Request &&) { return *this; }
|
NgMPI_Requests & operator+= (NgMPI_Request &&) { return *this; }
|
||||||
NgMPI_Requests & operator+= (NG_MPI_Request r) { return *this; }
|
NgMPI_Requests & operator+= (NG_MPI_Request r) { return *this; }
|
||||||
|
void Reset() { ; }
|
||||||
void WaitAll() { ; }
|
void WaitAll() { ; }
|
||||||
int WaitAny() { return 0; }
|
int WaitAny() { return 0; }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user