From b137216cf24ab228919921501f2e590b02a47de7 Mon Sep 17 00:00:00 2001 From: Yu Shi Date: Tue, 25 Feb 2025 11:20:47 +0000 Subject: [PATCH] fix cpp lint errors --- src/boosting/cuda/nccl_gbdt.hpp | 11 ++++++----- src/boosting/cuda/nccl_gbdt_component.hpp | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/boosting/cuda/nccl_gbdt.hpp b/src/boosting/cuda/nccl_gbdt.hpp index 7415d56f6ffb..57356519e54a 100644 --- a/src/boosting/cuda/nccl_gbdt.hpp +++ b/src/boosting/cuda/nccl_gbdt.hpp @@ -8,17 +8,18 @@ #ifdef USE_CUDA +#include + #include #include -#include "cuda_score_updater.hpp" -#include "nccl_gbdt_component.hpp" +#include +#include #include -#include -#include -#include +#include "cuda_score_updater.hpp" +#include "nccl_gbdt_component.hpp" #include "../gbdt.h" diff --git a/src/boosting/cuda/nccl_gbdt_component.hpp b/src/boosting/cuda/nccl_gbdt_component.hpp index 5d9f95c4c923..39e698d42406 100644 --- a/src/boosting/cuda/nccl_gbdt_component.hpp +++ b/src/boosting/cuda/nccl_gbdt_component.hpp @@ -8,7 +8,6 @@ #ifdef USE_CUDA -#include #include #include @@ -16,6 +15,7 @@ #include #include +#include #include "cuda_score_updater.hpp" #include "../../treelearner/cuda/cuda_single_gpu_tree_learner.hpp"