add set_cpu_data to Blob and SyncedMemory
authorJonathan L Long <jonlong@cs.berkeley.edu>
Fri, 4 Apr 2014 02:19:47 +0000 (19:19 -0700)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Fri, 2 May 2014 20:24:08 +0000 (13:24 -0700)
commitc8e6e940e0f0f2a0937ba8d62726e1e178ff3cd9
treeae95c7f7aa3016ce9bc5a9fcbafd197002defb65
parentb654d9d8b005778a9cae9c1808aa0b3752dbd421
add set_cpu_data to Blob and SyncedMemory

This allows a blob to be updated without copy to use already existing
memory (and will support MemoryDataLayer).
include/caffe/blob.hpp
include/caffe/syncedmem.hpp
src/caffe/blob.cpp
src/caffe/syncedmem.cpp