Skip to content

Commit

Permalink
Merge pull request BVLC#149 from drnikolaev/caffe-0.15-fix
Browse files Browse the repository at this point in the history
Setting maximum roundable bin size to 4M
  • Loading branch information
drnikolaev committed May 27, 2016
2 parents 72c81ba + 22ef291 commit 2f0fbed
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 2f0fbed

Please sign in to comment.