Remove accidental SparsePage copies (#3583)
This commit is contained in:
committed by
Philip Hyunsu Cho
parent
0b607fb884
commit
645996b12f
@@ -237,7 +237,7 @@ class GPUCoordinateUpdater : public LinearUpdater {
|
||||
auto iter = p_fmat->ColIterator();
|
||||
CHECK(p_fmat->SingleColBlock());
|
||||
iter->Next();
|
||||
auto batch = iter->Value();
|
||||
auto &batch = iter->Value();
|
||||
|
||||
shards.resize(n_devices);
|
||||
// Create device shards
|
||||
|
||||
Reference in New Issue
Block a user