Fix error message. (#6176)
This commit is contained in:
parent
dda9e1e487
commit
52c0b3f100
@ -559,8 +559,7 @@ class GPUPredictor : public xgboost::Predictor {
|
||||
bool approximate, int condition,
|
||||
unsigned condition_feature) override {
|
||||
if (approximate) {
|
||||
LOG(FATAL) << "[Internal error]: " << __func__
|
||||
<< " approximate is not implemented in GPU Predictor.";
|
||||
LOG(FATAL) << "Approximated contribution is not implemented in GPU Predictor.";
|
||||
}
|
||||
|
||||
dh::safe_cuda(cudaSetDevice(generic_param_->gpu_id));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user