gpu_hist performance tweaks (#5707)

* Remove device vectors

* Remove allreduce synchronize

* Remove double buffer
This commit is contained in:
Rory Mitchell
2020-05-29 16:48:53 +12:00
committed by GitHub
parent ca0d605b34
commit f779980f7e
4 changed files with 33 additions and 75 deletions

View File

@@ -511,7 +511,6 @@ struct GPUHistMakerDevice {
reinterpret_cast<typename GradientSumT::ValueT*>(d_node_hist),
reinterpret_cast<typename GradientSumT::ValueT*>(d_node_hist),
page->Cuts().TotalBins() * (sizeof(GradientSumT) / sizeof(typename GradientSumT::ValueT)));
reducer->Synchronize();
monitor.Stop("AllReduce");
}