mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-13 17:48:34 +05:00
add forgotten isend
This commit is contained in:
parent
38d8d0cd71
commit
8444889cf3
@ -164,7 +164,15 @@ namespace ngcore
|
|||||||
MPI_Isend (&val, 1, GetMPIType<T>(), dest, tag, comm, &request);
|
MPI_Isend (&val, 1, GetMPIType<T>(), dest, tag, comm, &request);
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename T, typename T2 = decltype(GetMPIType<T>())>
|
||||||
|
MPI_Request ISend (const FlatArray<T> & s, int dest, int tag) const
|
||||||
|
{
|
||||||
|
MPI_Request request;
|
||||||
|
MPI_Isend (s.Data(), s.Size(), GetMPIType<T>(), dest, tag, comm, &request);
|
||||||
|
return request;
|
||||||
|
}
|
||||||
|
|
||||||
template<typename T, typename T2 = decltype(GetMPIType<T>())>
|
template<typename T, typename T2 = decltype(GetMPIType<T>())>
|
||||||
MPI_Request IRecv (T & val, int src, int tag) const
|
MPI_Request IRecv (T & val, int src, int tag) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user