Skip to content

Commit

Permalink
[CUDA] fix typo in error message (#6207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Nov 22, 2023
1 parent d9a4cf4 commit bc69422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/treelearner/cuda/cuda_single_gpu_tree_learner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class CUDASingleGPUTreeLearner: public SerialTreeLearner {
#pragma warning(disable : 4702)
explicit CUDASingleGPUTreeLearner(const Config* tree_config, const bool /*boosting_on_cuda*/) : SerialTreeLearner(tree_config) {
Log::Fatal("CUDA Tree Learner was not enabled in this build.\n"
"Please recompile with CMake option -DUSE_CUDAP=1");
"Please recompile with CMake option -DUSE_CUDA=1");
}
};

Expand Down

0 comments on commit bc69422

Please sign in to comment.