Fix R CRAN failures. (#7404)
* Remove hist builder dtor. * Initialize values. * Tolerance. * Remove the use of nthread in col maker.
This commit is contained in:
@@ -213,7 +213,7 @@ struct Entry {
|
||||
*/
|
||||
struct BatchParam {
|
||||
/*! \brief The GPU device to use. */
|
||||
int gpu_id;
|
||||
int gpu_id {-1};
|
||||
/*! \brief Maximum number of bins per feature for histograms. */
|
||||
int max_bin{0};
|
||||
/*! \brief Hessian, used for sketching with future approx implementation. */
|
||||
|
||||
Reference in New Issue
Block a user