Medial Code Documentation
|
A page stored in ELLPACK format. More...
#include <ellpack_page.h>
Public Member Functions | |
EllpackPage () | |
Default constructor. | |
EllpackPage (Context const *ctx, DMatrix *dmat, const BatchParam ¶m) | |
Constructor from an existing DMatrix. | |
~EllpackPage () | |
Destructor. | |
EllpackPage (EllpackPage &&that) | |
size_t | Size () const |
void | SetBaseRowId (std::size_t row_id) |
Set the base row id for this page. | |
const EllpackPageImpl * | Impl () const |
EllpackPageImpl * | Impl () |
common::HistogramCuts & | Cuts () |
common::HistogramCuts const & | Cuts () const |
A page stored in ELLPACK format.
This class uses the PImpl idiom (https://en.cppreference.com/w/cpp/language/pimpl) to avoid including CUDA-specific implementation details in the header.
|
default |
Default constructor.
This is used in the external memory case. An empty ELLPACK page is constructed with its content set later by the reader.
|
explicit |
size_t xgboost::EllpackPage::Size | ( | ) | const |