combine col_{data,diff} into single col_buff to halve memory usage
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Sat, 20 Sep 2014 06:12:12 +0000 (23:12 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Sat, 20 Sep 2014 06:12:12 +0000 (23:12 -0700)
commite8ba4c83902196c44f1390f77cbe9c5fc74b711d
tree14edf497505da6fc9a6f4e9700240460bd6656ed
parent8109a6e56ed18e1f40b48e494a30e290019eefb4
combine col_{data,diff} into single col_buff to halve memory usage

conv forward / backward only need one of the im2col data and diff
at-a-time so consolidating the two saves a lazy allocation.
src/caffe/layers/conv_layer.cpp
src/caffe/layers/conv_layer.cu