disable travis model_recover tests, fix doc generate failure (#71)

* add missing packackges used in dmlc submit

* disable local_recovery tests til we have code fix

* fix doc gen failure
This commit is contained in:
Chen Qin
2018-10-19 18:18:16 -07:00
committed by Tianqi Chen
parent 785bde6f87
commit 69cdfae22f
4 changed files with 27 additions and 19 deletions

View File

@@ -41,13 +41,22 @@ RABIT_DLL void RabitInit(int argc, char *argv[]);
*/
RABIT_DLL void RabitFinalize(void);
/*! \brief get rank of current process */
/*!
* \brief get rank of current process
* \return rank number of worker
* */
RABIT_DLL int RabitGetRank(void);
/*! \brief get total number of process */
/*!
* \brief get total number of process
* \return total world size
* */
RABIT_DLL int RabitGetWorldSize(void);
/*! \brief get rank of current process */
/*!
* \brief get rank of current process
* \return if rabit is distributed
* */
RABIT_DLL int RabitIsDistributed(void);
/*!
@@ -136,6 +145,7 @@ RABIT_DLL void RabitCheckPoint(const char *global_model,
/*!
* \return version number of current stored model,
* which means how many calls to CheckPoint we made so far
* \return rabit version number
*/
RABIT_DLL int RabitVersionNumber(void);
@@ -144,7 +154,7 @@ RABIT_DLL int RabitVersionNumber(void);
* \brief a Dummy function,
* used to cause force link of C API into the DLL.
* \code
* // force link rabit C API library.
* \/\/force link rabit C API library.
* static int must_link_rabit_ = RabitLinkTag();
* \endcode
* \return a dummy integer.

View File

@@ -79,14 +79,18 @@ inline void Init(int argc, char *argv[]);
* \brief finalizes the rabit engine, call this function after you finished with all the jobs
*/
inline void Finalize();
/*! \brief gets rank of the current process */
/*! \brief gets rank of the current process
* \return rank number of worker*/
inline int GetRank();
/*! \brief gets total number of processes */
/*! \brief gets total number of processes
* \return total world size*/
inline int GetWorldSize();
/*! \brief whether rabit env is in distributed mode */
/*! \brief whether rabit env is in distributed mode
* \return is distributed*/
inline bool IsDistributed();
/*! \brief gets processor's name */
/*! \brief gets processor's name
* \return processor name*/
inline std::string GetProcessorName();
/*!
* \brief prints the msg to the tracker,