Fix cpplint. (#4157)

* Add comment after #endif.
* Add missing headers.
This commit is contained in:
Jiaming Yuan
2019-02-18 00:16:29 +08:00
committed by GitHub
parent 71a604fae3
commit 2e618af743
46 changed files with 97 additions and 72 deletions

View File

@@ -10,7 +10,7 @@
#ifdef __CUDACC__
#include "device_helpers.cuh"
#endif
#endif // __CUDACC__
namespace xgboost {
namespace common {
@@ -115,7 +115,7 @@ class CompressedBufferWriter {
symbol >>= 8;
}
}
#endif
#endif // __CUDACC__
template <typename IterT>
void Write(CompressedByteT *buffer, IterT input_begin, IterT input_end) {