- Pass context from booster to DMatrix. - Use context instead of integer for `n_threads`. - Check the consistency configuration for `max_bin`. - Test for all combinations of initialization options.
- Use context in all tests. - Use context in R. - Use context in C API DMatrix initialization. (0 threads is used as dft).