Fix external memory race in colmaker. (#4980)

* Move `GetColDensity` out of omp parallel block.
This commit is contained in:
Jiaming Yuan
2019-10-25 04:11:13 -04:00
committed by GitHub
parent 96cd7ec2bb
commit 6ec7e300bd
9 changed files with 29 additions and 18 deletions

View File

@@ -19,8 +19,8 @@ using MemoryFixSizeBuffer = rabit::utils::MemoryFixSizeBuffer;
using MemoryBufferStream = rabit::utils::MemoryBufferStream;
/*!
* \brief Input stream that support additional PeekRead
* operation, besides read.
* \brief Input stream that support additional PeekRead operation,
* besides read.
*/
class PeekableInStream : public dmlc::Stream {
public: