Dynamically allocate GPU histogram memory (#3519)

* Expand histogram memory dynamically to prevent large allocations for large tree depths (e.g. > 15)

* Remove GPU memory allocation messages. These are misleading as a large number of allocations are now dynamic.

* Fix appveyor R test
This commit is contained in:
Rory Mitchell
2018-07-28 21:22:41 +12:00
committed by GitHub
parent b5fad42da2
commit 07ff52d54c
3 changed files with 47 additions and 23 deletions

View File

@@ -584,13 +584,6 @@ class BulkAllocator {
d_ptr_.push_back(ptr);
size_.push_back(size);
device_idx_.push_back(device_idx);
if (!silent) {
const int mb_size = 1048576;
LOG(CONSOLE) << "Allocated " << size / mb_size << "MB on [" << device_idx
<< "] " << DeviceName(device_idx) << ", "
<< AvailableMemory(device_idx) / mb_size << "MB remaining.";
}
}
};