Skip to content

Commit 510bc8e

Browse files
committed
Hide it.
1 parent d060ce4 commit 510bc8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gbm/gbtree.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ void GBTree::DoBoost(DMatrix* p_fmat, linalg::Matrix<GradientPair>* in_gpair,
216216
CHECK(tparam_.tree_method == TreeMethod::kHist || tparam_.tree_method == TreeMethod::kAuto)
217217
<< "Only the hist tree method is supported for building multi-target trees with vector "
218218
"leaf.";
219+
CHECK(ctx_->IsCPU()) << "GPU is not yet supported for vector leaf.";
219220
}
220221

221222
TreesOneIter new_trees;

0 commit comments

Comments
 (0)