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

@@ -26,7 +26,7 @@
#define WITH_CUDA() false
#endif
#endif // defined(__CUDACC__)
namespace dh {
#if defined(__CUDACC__)
@@ -44,7 +44,7 @@ inline cudaError_t ThrowOnCudaError(cudaError_t code, const char *file,
}
return code;
}
#endif
#endif // defined(__CUDACC__)
} // namespace dh
namespace xgboost {