Commit 0329a32f authored by Michael Bareford's avatar Michael Bareford

Corrected comment for scatter function.

parent 90440419
...@@ -459,7 +459,7 @@ template <class T> T Comm::Gather(const int rootProc, T &val) ...@@ -459,7 +459,7 @@ template <class T> T Comm::Gather(const int rootProc, T &val)
return ans; return ans;
} }
/** /**
* Scatter pData across ranks in chunks of len(pData)/num_ranks * Scatter pData across ranks in chunks of recvcnt
*/ */
template <class T> T Comm::Scatter(const int rootProc, T &pData, template <class T> T Comm::Scatter(const int rootProc, T &pData,
const unsigned int recvcnt) const unsigned int recvcnt)
...@@ -479,8 +479,6 @@ template <class T> T Comm::Scatter(const int rootProc, T &pData, ...@@ -479,8 +479,6 @@ template <class T> T Comm::Scatter(const int rootProc, T &pData,
return ans; return ans;
} }
template <class T> T Comm::Gatherv(const int rootProc, T &val, template <class T> T Comm::Gatherv(const int rootProc, T &val,
std::vector<int> &recvDataSizes, std::vector<int> &recvDataSizes,
std::vector<int> &recvDataOffsets) std::vector<int> &recvDataOffsets)
......
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