mpirequests::Reset

This commit is contained in:
Joachim Schoeberl 2024-12-01 13:31:07 +01:00
parent ad5c50eef5
commit eead94dfc1

View File

@ -95,6 +95,8 @@ namespace ngcore
public:
NgMPI_Requests() = default;
~NgMPI_Requests() { WaitAll(); }
void Reset() { requests.SetSize0(); }
NgMPI_Requests & operator+= (NgMPI_Request && r)
{
@ -539,6 +541,7 @@ namespace ngcore
public:
NgMPI_Requests & operator+= (NgMPI_Request &&) { return *this; }
NgMPI_Requests & operator+= (NG_MPI_Request r) { return *this; }
void Reset() { ; }
void WaitAll() { ; }
int WaitAny() { return 0; }
};