Remove redundant sketching. (#5700)
This commit is contained in:
parent
f656ef2fed
commit
1ba24a7597
@ -24,8 +24,6 @@ namespace data {
|
|||||||
// be supported in future. Does not currently support inferring row/column size
|
// be supported in future. Does not currently support inferring row/column size
|
||||||
template <typename AdapterT>
|
template <typename AdapterT>
|
||||||
DeviceDMatrix::DeviceDMatrix(AdapterT* adapter, float missing, int nthread, int max_bin) {
|
DeviceDMatrix::DeviceDMatrix(AdapterT* adapter, float missing, int nthread, int max_bin) {
|
||||||
common::HistogramCuts cuts =
|
|
||||||
common::AdapterDeviceSketch(adapter, max_bin, missing);
|
|
||||||
dh::safe_cuda(cudaSetDevice(adapter->DeviceIdx()));
|
dh::safe_cuda(cudaSetDevice(adapter->DeviceIdx()));
|
||||||
auto& batch = adapter->Value();
|
auto& batch = adapter->Value();
|
||||||
// Work out how many valid entries we have in each row
|
// Work out how many valid entries we have in each row
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user