Split up column matrix initialization. (#8060)

* Split up column matrix initialization.

This PR splits the column matrix initialization into 2 steps, the first one initializes
the storage while the second one does the transpose. By doing so, we can reuse the code
for Quantile DMatrix.
This commit is contained in:
Jiaming Yuan
2022-07-14 10:34:47 +08:00
committed by GitHub
parent 36cf979b82
commit 8dd96013f1
4 changed files with 104 additions and 80 deletions

View File

@@ -69,7 +69,10 @@
#include "../src/learner.cc"
#include "../src/logging.cc"
#include "../src/global_config.cc"
// common
#include "../src/common/common.cc"
#include "../src/common/column_matrix.cc"
#include "../src/common/random.cc"
#include "../src/common/charconv.cc"
#include "../src/common/timer.cc"