summaryrefslogtreecommitdiff
path: root/src/caffe/layers/softmax_loss_layer.cpp
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-06-27 21:25:36 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-07-03 17:14:12 -0700
commitaaa9f24d369798cfa268f465ec5a1c35257ed500 (patch)
tree9da9a0672d8167ad2a79cf57a71a8b815102b08e /src/caffe/layers/softmax_loss_layer.cpp
parent803a7a94f3033e4d389de57c18524c98ac744b3f (diff)
downloadcaffeonacl-aaa9f24d369798cfa268f465ec5a1c35257ed500.tar.gz
caffeonacl-aaa9f24d369798cfa268f465ec5a1c35257ed500.tar.bz2
caffeonacl-aaa9f24d369798cfa268f465ec5a1c35257ed500.zip
do all caffe_copy() as UVA mem copy, and drop caffe_gpu_copy()
Do all memory copies by `cudaMemcpy` in UVA mode so that the same `caffe_copy()` interface works for all transfers. `cudaMemcpy()` is used in lieu of BLAS copies because they do not understand UVA. Drop the now unnecessary `caffe_gpu_copy()` since location of the pointers is now irrelevant to the interface.
Diffstat (limited to 'src/caffe/layers/softmax_loss_layer.cpp')
0 files changed, 0 insertions, 0 deletions