Remove unused page size constant (#8457)

This commit is contained in:
Rong Ou 2022-11-16 19:41:39 -08:00 committed by GitHub
parent 812d577597
commit 30b1a26fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -619,9 +619,6 @@ class DMatrix {
int32_t nthread, std::string cache);
virtual DMatrix *Slice(common::Span<int32_t const> 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<SparsePage> GetRowBatches() = 0;