Commit a9991812 authored by incardon's avatar incardon

Fixing Coverity + documentation

parent 046f18aa
......@@ -9,8 +9,11 @@
* The purpose of these classes is to correctly choose the right call based on the type we want to receive
*
*/
class MPI_IrecvWB
{
public:
/*! \brief General recv for general buffer
/*! \brief General recv for general buffer
*
* \param proc processor from which to receive
* \param tag
......@@ -19,10 +22,6 @@
* \param req MPI request
*
*/
class MPI_IrecvWB
{
public:
static inline void recv(size_t proc , size_t tag ,void * buf, size_t sz, MPI_Request & req)
{
MPI_SAFE_CALL(MPI_Irecv(buf,sz,MPI_BYTE, proc, tag , MPI_COMM_WORLD,&req));
......@@ -137,7 +136,7 @@ template<> class MPI_IrecvW<long int>
public:
static inline void recv(size_t proc , size_t tag ,openfpm::vector<long int> & v, MPI_Request & req)
{
MPI_Irecv(v.getPointer(), v.size(),MPI_LONG, proc, tag , MPI_COMM_WORLD,&req);
MPI_SAFE_CALL(MPI_Irecv(v.getPointer(), v.size(),MPI_LONG, proc, tag , MPI_COMM_WORLD,&req));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment