Fix inclusive scan for large sizes (#6234)

This commit is contained in:
Rory Mitchell
2020-11-03 17:01:43 +13:00
committed by GitHub
parent 7756192906
commit 29745c6df2
7 changed files with 61 additions and 38 deletions

View File

@@ -307,7 +307,7 @@ class MemoryLogger {
void RegisterDeallocation(void *ptr, size_t n, int current_device) {
auto itr = device_allocations.find(ptr);
if (itr == device_allocations.end()) {
LOG(FATAL) << "Attempting to deallocate " << n << " bytes on device "
LOG(WARNING) << "Attempting to deallocate " << n << " bytes on device "
<< current_device << " that was never allocated ";
}
num_deallocations++;