From 1ba24a759781485690b60ba4536d902c409ad6c9 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Sun, 24 May 2020 08:47:20 +0800 Subject: [PATCH] Remove redundant sketching. (#5700) --- src/data/device_dmatrix.cu | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/data/device_dmatrix.cu b/src/data/device_dmatrix.cu index 092d4f678..6173ec913 100644 --- a/src/data/device_dmatrix.cu +++ b/src/data/device_dmatrix.cu @@ -24,8 +24,6 @@ namespace data { // be supported in future. Does not currently support inferring row/column size template 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())); auto& batch = adapter->Value(); // Work out how many valid entries we have in each row