Skip to content

Commit

Permalink
Fix error message. (#6176)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Sep 29, 2020
1 parent dda9e1e commit 52c0b3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/predictor/gpu_predictor.cu
Expand Up @@ -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));
Expand Down

0 comments on commit 52c0b3f

Please sign in to comment.