Skip to content

Commit

Permalink
Setting maximum roundable bin size to 4M
Browse files Browse the repository at this point in the history
  • Loading branch information
drnikolaev committed May 26, 2016
1 parent 72c81ba commit 22ef291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caffe/util/gpu_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void GPUMemoryManager::InitMemory(const std::vector<int>& gpus, PoolMode m) {
try {
// Just in case someone installed 'no cleanup' arena before
delete cub_allocator;
cub_allocator = new cub::CachingDeviceAllocator(2, 6, 31, (size_t) -1,
cub_allocator = new cub::CachingDeviceAllocator(2, 6, 22, (size_t) -1,
false, debug_);
} catch (...) {
}
Expand Down

0 comments on commit 22ef291

Please sign in to comment.