From 3bb0f7905bb220eaefd88805d417cac3a33722c2 Mon Sep 17 00:00:00 2001 From: Rong Ou Date: Thu, 10 Nov 2022 13:45:51 -0800 Subject: [PATCH] Remove unused page size constant --- include/xgboost/data.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/xgboost/data.h b/include/xgboost/data.h index c5ed78dd5e60..91976a48d2d6 100644 --- a/include/xgboost/data.h +++ b/include/xgboost/data.h @@ -619,9 +619,6 @@ class DMatrix { int32_t nthread, std::string cache); virtual DMatrix *Slice(common::Span ridxs) = 0; - /*! \brief Number of rows per page in external memory. Approximately 100MB per page for - * dataset with 100 features. */ - static const size_t kPageSize = 32UL << 12UL; protected: virtual BatchSet GetRowBatches() = 0;