This commit is contained in:
tqchen 2014-12-03 10:00:47 -08:00
parent 34f2f887b1
commit f3e5b6e13c

View File

@ -43,7 +43,8 @@ inline int GetWorldSize(void);
/*! \brief get name of processor */
inline std::string GetProcessorName(void);
/*!
* \brief broadcast an std::string to all others from root
* \brief broadcast an memory region to all others from root
* Example: int a = 1; Broadcast(&a, sizeof(a), root);
* \param sendrecv_data the pointer to send or recive buffer,
* \param size the size of the data
* \param root the root of process