From 30b1a26fc029c13b6ef9141adabbe0ab87a00de3 Mon Sep 17 00:00:00 2001 From: Rong Ou Date: Wed, 16 Nov 2022 19:41:39 -0800 Subject: [PATCH] Remove unused page size constant (#8457) --- include/xgboost/data.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/xgboost/data.h b/include/xgboost/data.h index c5ed78dd5..91976a48d 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;