Refactor the CLI. (#5574)

* Enable parameter validation.
* Enable JSON.
* Catch `dmlc::Error`.
* Show help message.
This commit is contained in:
Jiaming Yuan
2020-04-26 10:56:33 +08:00
committed by GitHub
parent 7d93932423
commit c90457f489
8 changed files with 432 additions and 218 deletions

View File

@@ -30,7 +30,6 @@
#ifdef XGBOOST_USE_NCCL
#include "nccl.h"
#include "../common/io.h"
#endif
#if !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 600 || defined(__clang__)