For histograms, opting into maximum shared memory available per block. (#5491)

This commit is contained in:
Andy Adinets
2020-04-21 04:56:42 +02:00
committed by GitHub
parent 9c1103e06c
commit 73142041b9
6 changed files with 54 additions and 31 deletions

View File

@@ -101,7 +101,6 @@ void TestBuildHist(bool use_shared_memory_histograms) {
maker.hist.AllocateHistogram(0);
maker.gpair = gpair.DeviceSpan();
maker.use_shared_memory_histograms = use_shared_memory_histograms;
maker.BuildHist(0);
DeviceHistogram<GradientSumT> d_hist = maker.hist;