More support for column split in cpu predictor (#9244)

- Added column split support to `PredictInstance` and `PredictLeaf`.
- Refactoring of tests.
This commit is contained in:
Rong Ou
2023-06-04 17:05:38 -07:00
committed by GitHub
parent 3bf0f145bb
commit 962a20693f
4 changed files with 108 additions and 119 deletions

View File

@@ -929,7 +929,7 @@ class GPUPredictor : public xgboost::Predictor {
void PredictInstance(const SparsePage::Inst&,
std::vector<bst_float>*,
const gbm::GBTreeModel&, unsigned) const override {
const gbm::GBTreeModel&, unsigned, bool) const override {
LOG(FATAL) << "[Internal error]: " << __func__
<< " is not implemented in GPU Predictor.";
}