Remove unused code. (#7293)

This commit is contained in:
Jiaming Yuan
2021-10-12 15:04:41 +08:00
committed by GitHub
parent 130df8cdda
commit a7d0c66457
2 changed files with 0 additions and 8 deletions

View File

@@ -181,8 +181,6 @@ struct GPUHistMakerDevice {
dh::PinnedMemory pinned;
std::vector<cudaStream_t> streams{};
common::Monitor monitor;
TreeEvaluator tree_evaluator;
common::ColumnSampler column_sampler;
@@ -228,9 +226,6 @@ struct GPUHistMakerDevice {
~GPUHistMakerDevice() { // NOLINT
dh::safe_cuda(cudaSetDevice(device_id));
for (auto& stream : streams) {
dh::safe_cuda(cudaStreamDestroy(stream));
}
}
// Reset values for each update iteration