platform/upstream/caffe.git
10 years agoadd gflags dependency to caffe.
Yangqing Jia [Thu, 24 Jul 2014 05:47:25 +0000 (22:47 -0700)]
add gflags dependency to caffe.

10 years agoreapply namespace change
Yangqing Jia [Fri, 18 Jul 2014 22:18:14 +0000 (15:18 -0700)]
reapply namespace change

10 years agoMerge pull request #730 from Yangqing/sweep
Yangqing Jia [Fri, 18 Jul 2014 20:45:41 +0000 (13:45 -0700)]
Merge pull request #730 from Yangqing/sweep

cosmetics: add syntax = proto2

10 years agocosmetics: add syntax = proto2
Yangqing Jia [Fri, 18 Jul 2014 20:32:25 +0000 (13:32 -0700)]
cosmetics: add syntax = proto2

10 years agoMerge pull request #718 from Yangqing/dev
Yangqing Jia [Fri, 18 Jul 2014 00:53:24 +0000 (17:53 -0700)]
Merge pull request #718 from Yangqing/dev

More namespace cleaning.

10 years agolint
Yangqing Jia [Fri, 18 Jul 2014 00:01:17 +0000 (17:01 -0700)]
lint

10 years agoMerge pull request #716 from Yangqing/dev
Jeff Donahue [Thu, 17 Jul 2014 19:46:18 +0000 (12:46 -0700)]
Merge pull request #716 from Yangqing/dev

Minor Code Cleaning

10 years agocompute_image_mean namespace fix.
Yangqing Jia [Thu, 17 Jul 2014 19:18:27 +0000 (12:18 -0700)]
compute_image_mean namespace fix.

10 years agoMerge pull request #561 from shelhamer/cpu-only-build
Evan Shelhamer [Thu, 17 Jul 2014 10:35:00 +0000 (12:35 +0200)]
Merge pull request #561 from shelhamer/cpu-only-build

CPU-only build

no GPU, no CUDA, no problem!

10 years agocheck CPU-only everything, CPU + GPU build with travis
Evan Shelhamer [Thu, 17 Jul 2014 09:32:29 +0000 (11:32 +0200)]
check CPU-only everything, CPU + GPU build with travis

10 years agorelax benchmark test timing for cheap hardware / CI build
Evan Shelhamer [Wed, 16 Jul 2014 13:24:48 +0000 (15:24 +0200)]
relax benchmark test timing for cheap hardware / CI build

10 years agoswitch travis build to CPU-only flag, drop runtestnogpu target
Evan Shelhamer [Thu, 17 Jul 2014 09:57:56 +0000 (11:57 +0200)]
switch travis build to CPU-only flag, drop runtestnogpu target

10 years agocollect CUDA includes and calls, separate from CPU-only mode, leave out
Evan Shelhamer [Tue, 15 Jul 2014 13:56:36 +0000 (15:56 +0200)]
collect CUDA includes and calls, separate from CPU-only mode, leave out

- collect CUDA includes in device_alternate.hpp
- add guards for CUDA code
- move GPU code into cu from cpp
- make CUDA includes and libraries conditional in Makefile
- drop CUDA dependency from travis-ci build

10 years agoadd guards to drop GPU code in CPU-only mode
Evan Shelhamer [Mon, 30 Jun 2014 04:11:44 +0000 (21:11 -0700)]
add guards to drop GPU code in CPU-only mode

10 years agostub out GPU layer methods to crash loudly in CPU-only mode
Evan Shelhamer [Mon, 30 Jun 2014 03:47:40 +0000 (20:47 -0700)]
stub out GPU layer methods to crash loudly in CPU-only mode

10 years agoconfigure Makefile for CPU-only build
Evan Shelhamer [Mon, 30 Jun 2014 03:45:41 +0000 (20:45 -0700)]
configure Makefile for CPU-only build

10 years agoneuron_layers.hpp should not need to include leveldb
Yangqing Jia [Wed, 16 Jul 2014 23:22:52 +0000 (16:22 -0700)]
neuron_layers.hpp should not need to include leveldb

10 years agomove using statements inside namespace caffe to avoid polluting the whole name space.
Yangqing Jia [Wed, 16 Jul 2014 23:15:09 +0000 (16:15 -0700)]
move using statements inside namespace caffe to avoid polluting the whole name space.

10 years agoAnother bugfix related to my CPU/GPU test changes: make NetTest a
Jeff Donahue [Tue, 15 Jul 2014 22:12:51 +0000 (15:12 -0700)]
Another bugfix related to my CPU/GPU test changes: make NetTest a
MultiDeviceTest (Caffe:set_mode(Caffe::CPU/GPU) isn't run without this).

10 years agoMerge pull request #660 from jeffdonahue/param-propagate-down
Jeff Donahue [Tue, 15 Jul 2014 21:08:24 +0000 (14:08 -0700)]
Merge pull request #660 from jeffdonahue/param-propagate-down

Conditionally compute parameter gradients

10 years agoAdd Net Test to verify correct param_propagate_down behavior.
Jeff Donahue [Tue, 15 Jul 2014 20:15:36 +0000 (13:15 -0700)]
Add Net Test to verify correct param_propagate_down behavior.

10 years agoUse Blobs instead of SyncedMemorys for the bias_multiplier_'s.
Jeff Donahue [Wed, 9 Jul 2014 22:34:44 +0000 (15:34 -0700)]
Use Blobs instead of SyncedMemorys for the bias_multiplier_'s.

10 years agoMake ConvolutionLayer and InnerProductLayer abide by param_propagate_down_
Jeff Donahue [Wed, 9 Jul 2014 22:05:57 +0000 (15:05 -0700)]
Make ConvolutionLayer and InnerProductLayer abide by param_propagate_down_

10 years agoAdd param_propagate_down_ vector to layer, populate according to
Jeff Donahue [Wed, 9 Jul 2014 21:47:46 +0000 (14:47 -0700)]
Add param_propagate_down_ vector to layer, populate according to
blobs_lr in Net::Init

10 years agouse layer_param instead of layers_[layer_id]->layer_param()
Jeff Donahue [Wed, 9 Jul 2014 21:25:55 +0000 (14:25 -0700)]
use layer_param instead of layers_[layer_id]->layer_param()

10 years agoFix Makefile warning error message.
Jeff Donahue [Tue, 15 Jul 2014 20:47:14 +0000 (13:47 -0700)]
Fix Makefile warning error message.

10 years ago[example] elaborate net surgery description
Evan Shelhamer [Tue, 15 Jul 2014 14:06:59 +0000 (16:06 +0200)]
[example] elaborate net surgery description

10 years agofix choice of clang++ in OS X build
Evan Shelhamer [Tue, 15 Jul 2014 08:20:10 +0000 (10:20 +0200)]
fix choice of clang++ in OS X build

10 years agoMerge pull request #698 from jeffdonahue/softmax-layer-test-devices-fix
Jeff Donahue [Tue, 15 Jul 2014 07:08:58 +0000 (00:08 -0700)]
Merge pull request #698 from jeffdonahue/softmax-layer-test-devices-fix

Fix SoftmaxLayerTest: forgot to change this one to use DtypesAndDevices;

10 years agoFix SoftmaxLayerTest: forgot to change this one to use DtypesAndDevices;
Jeff Donahue [Tue, 15 Jul 2014 06:49:36 +0000 (23:49 -0700)]
Fix SoftmaxLayerTest: forgot to change this one to use DtypesAndDevices;
was causing Travis build to randomly fail if a previous test had set the
mode to GPU (which no test that is run by 'make runtestnogpu' should, so
I guess there's another bug somewhere).

10 years agoMerge pull request #696 from rbgirshick/matlab_2014a_fix
Jeff Donahue [Tue, 15 Jul 2014 06:16:21 +0000 (23:16 -0700)]
Merge pull request #696 from rbgirshick/matlab_2014a_fix

Fix bug that breaks MATLAB 2014a compilation

10 years agofix bug that breaks MATLAB 2014a compilation
Ross Girshick [Tue, 15 Jul 2014 00:04:43 +0000 (17:04 -0700)]
fix bug that breaks MATLAB 2014a compilation

10 years agoMerge pull request #694 from jeffdonahue/travis-tweaks
Jeff Donahue [Mon, 14 Jul 2014 21:13:50 +0000 (14:13 -0700)]
Merge pull request #694 from jeffdonahue/travis-tweaks

Travis tweaks -- make --keep-going; build on all branches; replace CUSTOM_CXX <eom>

10 years agoAdd blank lines between fields for readability.
Jeff Donahue [Mon, 14 Jul 2014 20:46:09 +0000 (13:46 -0700)]
Add blank lines between fields for readability.

10 years agoReplace CUSTOM_CXX env var to specify non-default C++ compiler.
Jeff Donahue [Mon, 14 Jul 2014 20:43:08 +0000 (13:43 -0700)]
Replace CUSTOM_CXX env var to specify non-default C++ compiler.

10 years agoRun Travis build on all branches (remove whitelist from .travis.yml).
Jeff Donahue [Mon, 14 Jul 2014 20:37:13 +0000 (13:37 -0700)]
Run Travis build on all branches (remove whitelist from .travis.yml).

10 years agoAdd --keep-going flag to first make so that any targets that can be
Jeff Donahue [Mon, 14 Jul 2014 20:31:13 +0000 (13:31 -0700)]
Add --keep-going flag to first make so that any targets that can be
built are built; write out full -j flag as --jobs for clarity.

10 years agofix Makefile comment about library names
Evan Shelhamer [Mon, 14 Jul 2014 17:54:48 +0000 (19:54 +0200)]
fix Makefile comment about library names

10 years agoMerge pull request #685 from jeffdonahue/seed-hinge-loss-test
Jeff Donahue [Mon, 14 Jul 2014 09:56:08 +0000 (02:56 -0700)]
Merge pull request #685 from jeffdonahue/seed-hinge-loss-test

Seed HingeLossLayerTest; bad values can cause test (and therefore Travis build) to fail

10 years agoSeed HingeLossLayerTest; bad values can cause test (and therefore Travis
Jeff Donahue [Mon, 14 Jul 2014 09:44:28 +0000 (02:44 -0700)]
Seed HingeLossLayerTest; bad values can cause test (and therefore Travis
CI build) to fail

10 years agoMerge pull request #681 from BVLC/travisci
Evan Shelhamer [Mon, 14 Jul 2014 09:27:24 +0000 (11:27 +0200)]
Merge pull request #681 from BVLC/travisci

continuous integration for build, test, and lint by Travis CI

10 years agoTravis build failure wasn't working for lint/warn because they didn't
Jeff Donahue [Sun, 13 Jul 2014 05:37:10 +0000 (22:37 -0700)]
Travis build failure wasn't working for lint/warn because they didn't
exit with a non-zero code -- this fixes that.

10 years ago@jeffdonahue's tweaks to .travis.yml config:
Jeff Donahue [Sat, 12 Jul 2014 11:27:36 +0000 (04:27 -0700)]
@jeffdonahue's tweaks to .travis.yml config:
-Add (CPU-only) test, lint, warn and parallel (-j 4) to travis CI build.
-Add /usr/local/lib to travis config (seems needed for LMDB).
-Put export in "before_script"; disable clang build -- doesn't work on Linux.
-Cache Ubuntu apt packages.
-Install bc package to hopefully suppress "bc: not found" errors
-Get apt packages before_install as suggested by Travis official docs
-Remove specified email address and IRC notifications (emails are sent
to the committer by default; others can view build results in public
Travis feed, on pull requests, etc.).

10 years ago-Override the default compiler by specifying a CXX in
Jeff Donahue [Sat, 12 Jul 2014 17:00:44 +0000 (10:00 -0700)]
-Override the default compiler by specifying a CXX in
Makefile.config instead of CUSTOM_CXX, as Travis exports CXX
as the compiler env variable name.
-Change TEST_HDFS -> TEST_HXX_SRCS.

10 years ago@huyng's .travis.yml integration configuration file to install and test Caffe.
huy [Thu, 10 Jul 2014 06:02:06 +0000 (23:02 -0700)]
@huyng's .travis.yml integration configuration file to install and test Caffe.

10 years agoMove test headers to include/.
Jeff Donahue [Sat, 12 Jul 2014 13:58:35 +0000 (06:58 -0700)]
Move test headers to include/.
Add a test param to test both CPU and GPU (with both float and double
Dtypes).

10 years agoback-merging [docs] changes and web demo [example] addition; updating
Sergey Karayev [Sat, 12 Jul 2014 16:25:23 +0000 (09:25 -0700)]
back-merging [docs] changes and web demo [example] addition; updating
net_surgery example to new format

Conflicts:
docs/getting_pretrained_models.md
docs/index.md

10 years agoMerge pull request #679 from sergeyk/master
Sergey Karayev [Sat, 12 Jul 2014 16:20:07 +0000 (09:20 -0700)]
Merge pull request #679 from sergeyk/master

[example] image classification web demo

10 years ago[example] image classification web demo
Sergey Karayev [Sat, 12 Jul 2014 02:23:47 +0000 (19:23 -0700)]
[example] image classification web demo

10 years agoMerge pull request #675 from sergeyk/master
Sergey Karayev [Sat, 12 Jul 2014 00:20:46 +0000 (17:20 -0700)]
Merge pull request #675 from sergeyk/master

Revamped docs system

10 years ago[docs] shelhamer's minor suggestions
Sergey Karayev [Sat, 12 Jul 2014 00:19:35 +0000 (17:19 -0700)]
[docs] shelhamer's minor suggestions

10 years ago[docs] updated instructions for contributing documentation
Sergey Karayev [Fri, 11 Jul 2014 21:00:56 +0000 (14:00 -0700)]
[docs] updated instructions for contributing documentation

10 years ago[docs] moved example md’s to examples/**/md’s and added script to gather
Sergey Karayev [Fri, 11 Jul 2014 20:28:55 +0000 (13:28 -0700)]
[docs] moved example md’s to examples/**/md’s and added script to gather
them for publication

10 years ago[docs] cosmetic
Sergey Karayev [Fri, 11 Jul 2014 20:27:38 +0000 (13:27 -0700)]
[docs] cosmetic

10 years agofix link for caffe_rcnn_imagenet_model
Evan Shelhamer [Fri, 11 Jul 2014 04:09:41 +0000 (06:09 +0200)]
fix link for caffe_rcnn_imagenet_model

10 years agoBack-merge documentation and fixes
Evan Shelhamer [Fri, 11 Jul 2014 04:07:55 +0000 (06:07 +0200)]
Back-merge documentation and fixes

* master:
  host materials on dl.caffe.berkeleyvision.org
  fix caffe acm-mm paper link
  [docs] readme
  [docs] got rid of redundant README, updated development instructions
  [docs] reworked index page, got rid of publications page
  point to reference performance from installation, add GTX 770
  acknowledge BVLC PI Trevor Darrell for advising Caffe
  add latest CUDA arch to fix invalid device function errors
  switch language to "related publications"
  add publication section to homepage
  fix caffe paper link -- still hasn't appeared on arxiv yet
  Added top-1 and top-5 accuracy for the caffe networks to docs
  add skeleton of the Caffe publications page
  Update docs on building boost on OSX for the python wrappers
  fix OSX 10.9 homebrew CXX doc
  caffe.Net preprocessing members belong to object, not class
  10.9 install doc formatting

10 years agohost materials on dl.caffe.berkeleyvision.org
Evan Shelhamer [Fri, 11 Jul 2014 04:01:42 +0000 (06:01 +0200)]
host materials on dl.caffe.berkeleyvision.org

10 years agofix caffe acm-mm paper link
Evan Shelhamer [Thu, 10 Jul 2014 12:45:44 +0000 (14:45 +0200)]
fix caffe acm-mm paper link

10 years agoMerge pull request #633 from kloudkl/cpu-only-memcpy
longjon [Thu, 10 Jul 2014 00:18:33 +0000 (17:18 -0700)]
Merge pull request #633 from kloudkl/cpu-only-memcpy

Support CPU only memcpy

10 years agoReplace cudaMemcpy with caffe_gpu_memcpy in SyncedMemory per @longjon
Kai Li [Wed, 9 Jul 2014 23:50:31 +0000 (07:50 +0800)]
Replace cudaMemcpy with caffe_gpu_memcpy in SyncedMemory per @longjon

10 years agoImplement @Yangqing's solution to copy memory in the SyncedMemory
Kai Li [Wed, 9 Jul 2014 17:57:16 +0000 (01:57 +0800)]
Implement @Yangqing's solution to copy memory in the SyncedMemory

10 years agoSwitch to GPU mode when pointer is move to or from GPU in SyncedMemory
Kai Li [Wed, 9 Jul 2014 02:12:07 +0000 (10:12 +0800)]
Switch to GPU mode when pointer is move to or from GPU in SyncedMemory

10 years agoCheck the GPU mode to decide which memcpy to use
Kai Li [Wed, 9 Jul 2014 01:47:28 +0000 (09:47 +0800)]
Check the GPU mode to decide which memcpy to use

10 years agoAvoid using cudaMemcpy for memcpy when there is no GPU and CUDA driver
Kai Li [Mon, 7 Jul 2014 07:26:24 +0000 (15:26 +0800)]
Avoid using cudaMemcpy for memcpy when there is no GPU and CUDA driver

10 years agomakefile hotfix
Jeff Donahue [Wed, 9 Jul 2014 23:39:17 +0000 (16:39 -0700)]
makefile hotfix

10 years agoMerge pull request #661 from jeffdonahue/fix-error-output
Jeff Donahue [Wed, 9 Jul 2014 22:54:35 +0000 (15:54 -0700)]
Merge pull request #661 from jeffdonahue/fix-error-output

Fix bug introduced by warning logs (errors didn't print)

10 years agofix bug introduced by warning logs: errors didn't print because they
Jeff Donahue [Wed, 9 Jul 2014 22:47:21 +0000 (15:47 -0700)]
fix bug introduced by warning logs: errors didn't print because they
are logged to the warnings file

10 years ago[docs] readme
Sergey Karayev [Wed, 9 Jul 2014 22:07:42 +0000 (15:07 -0700)]
[docs] readme

10 years ago[docs] got rid of redundant README, updated development instructions
Sergey Karayev [Wed, 9 Jul 2014 22:06:10 +0000 (15:06 -0700)]
[docs] got rid of redundant README, updated development instructions

10 years agoMakefile: cleanup lint/warn report logic (and make the two more consistent)
Jeff Donahue [Wed, 9 Jul 2014 18:37:14 +0000 (11:37 -0700)]
Makefile: cleanup lint/warn report logic (and make the two more consistent)

10 years ago[docs] reworked index page, got rid of publications page
Sergey Karayev [Wed, 9 Jul 2014 17:14:00 +0000 (10:14 -0700)]
[docs] reworked index page, got rid of publications page

10 years agoMerge pull request #649 from jeffdonahue/warnlog
Evan Shelhamer [Wed, 9 Jul 2014 06:47:36 +0000 (08:47 +0200)]
Merge pull request #649 from jeffdonahue/warnlog

"make warn" to print compilation warnings; "make lint" runs incrementally

10 years agoOutput a lint report for every source file linted; use to lint
Jeff Donahue [Wed, 9 Jul 2014 00:52:49 +0000 (17:52 -0700)]
Output a lint report for every source file linted; use to lint
incrementally

10 years agoDump compiler warnings to *.warnings.txt; use "make warn" to print them
Jeff Donahue [Tue, 8 Jul 2014 22:58:12 +0000 (15:58 -0700)]
Dump compiler warnings to *.warnings.txt; use "make warn" to print them

10 years agoMerge pull request #647 from jeffdonahue/nocleanlinecount
Jeff Donahue [Tue, 8 Jul 2014 22:06:34 +0000 (15:06 -0700)]
Merge pull request #647 from jeffdonahue/nocleanlinecount

Don't make clean when running linecount

10 years agoDon't make clean when running linecount
Jeff Donahue [Tue, 8 Jul 2014 22:02:00 +0000 (15:02 -0700)]
Don't make clean when running linecount

10 years agoMerge pull request #614 from ronghanghu/rectangular_pooling
Jeff Donahue [Mon, 7 Jul 2014 23:40:50 +0000 (16:40 -0700)]
Merge pull request #614 from ronghanghu/rectangular_pooling

Rectangular pooling

10 years agoadded gradient check for non-square pooling
Ronghang Hu [Mon, 7 Jul 2014 19:12:59 +0000 (12:12 -0700)]
added gradient check for non-square pooling

10 years agofixed style errors
Ronghang Hu [Mon, 7 Jul 2014 18:32:58 +0000 (11:32 -0700)]
fixed style errors

10 years agoMerge pull request #611 from shelhamer/makefile-config-cxx
Evan Shelhamer [Sun, 6 Jul 2014 19:47:53 +0000 (12:47 -0700)]
Merge pull request #611 from shelhamer/makefile-config-cxx

Customize compiler setting in Makefile.config

10 years agoadd tests for rectangular pooling regions
Ronghang Hu [Sat, 5 Jul 2014 15:21:50 +0000 (08:21 -0700)]
add tests for rectangular pooling regions

10 years agofixing pooling SetUp() to allow default values for stride and pad
Ronghang Hu [Sat, 5 Jul 2014 00:29:56 +0000 (17:29 -0700)]
fixing pooling SetUp() to allow default values for stride and pad

10 years agoUpdate pooling_layer.cu
Ronghang Hu [Fri, 4 Jul 2014 04:05:23 +0000 (21:05 -0700)]
Update pooling_layer.cu

Replace pad_, kernel_size_, stride_ with pad_h_, pad_w_, kernel_size_h_, kernel_size_w_, stride_h_, stride_w_ to support pooling on rectangle regions.

10 years agoUpdate pooling_layer.cpp
Ronghang Hu [Fri, 4 Jul 2014 03:42:58 +0000 (20:42 -0700)]
Update pooling_layer.cpp

Replace pad_, kernel_size_, stride_ with pad_h_, pad_w_, kernel_size_h_, kernel_size_w_, stride_h_, stride_w_ to support pooling on rectangle regions.

10 years agoUpdate vision_layers.hpp
Ronghang Hu [Fri, 4 Jul 2014 03:33:50 +0000 (20:33 -0700)]
Update vision_layers.hpp

Replace pad_, kernel_size_, stride_ with pad_h_, pad_w_, kernel_size_h_, kernel_size_w_, stride_h_, stride_w_ to support pooling on rectangle regions.

10 years agoUpdate caffe.proto
Ronghang Hu [Fri, 4 Jul 2014 03:30:25 +0000 (20:30 -0700)]
Update caffe.proto

Add pad_h, pad_w, kernel_size_h, kernel_size_w, stride_h, stride_w to support pooling on rectangle regions.

10 years agopoint to reference performance from installation, add GTX 770
Evan Shelhamer [Fri, 4 Jul 2014 02:07:10 +0000 (19:07 -0700)]
point to reference performance from installation, add GTX 770

10 years agocustomize compiler setting in Makefile.config
Evan Shelhamer [Fri, 4 Jul 2014 01:15:38 +0000 (18:15 -0700)]
customize compiler setting in Makefile.config

in case of issues with default compilers or exotic platforms.

10 years agoMerge pull request #549 from jamt9000/fix-resize-crop-pil
Evan Shelhamer [Fri, 4 Jul 2014 00:29:14 +0000 (17:29 -0700)]
Merge pull request #549 from jamt9000/fix-resize-crop-pil

Make resizing & cropping with PIL work

10 years agoMerge pull request #555 from shelhamer/uva-memory
Evan Shelhamer [Fri, 4 Jul 2014 00:27:37 +0000 (17:27 -0700)]
Merge pull request #555 from shelhamer/uva-memory

Switch to Unified Virtual Address memory copies

10 years agoMerge pull request #602 from kloudkl/layers-in-order
Jeff Donahue [Fri, 4 Jul 2014 00:25:51 +0000 (17:25 -0700)]
Merge pull request #602 from kloudkl/layers-in-order

Layers in order

10 years agofix casts (static for void*)
Evan Shelhamer [Sat, 28 Jun 2014 21:05:35 +0000 (14:05 -0700)]
fix casts (static for void*)

10 years agoreduce caffe_copy to instantiations, split off caffe_memcpy for void*
Evan Shelhamer [Sat, 28 Jun 2014 20:48:37 +0000 (13:48 -0700)]
reduce caffe_copy to instantiations, split off caffe_memcpy for void*

10 years agoreplace all memset with caffe_set() / caffe_gpu_set()
Evan Shelhamer [Sat, 28 Jun 2014 08:52:49 +0000 (01:52 -0700)]
replace all memset with caffe_set() / caffe_gpu_set()

...except for `SyncedMem` since it has no type.

10 years agoreplace all memcpy by caffe_copy
Evan Shelhamer [Sat, 28 Jun 2014 02:51:33 +0000 (19:51 -0700)]
replace all memcpy by caffe_copy

10 years agodo all caffe_copy() as UVA mem copy, and drop caffe_gpu_copy()
Evan Shelhamer [Sat, 28 Jun 2014 04:25:36 +0000 (21:25 -0700)]
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.

10 years agoreplace softmax cudaMemcpy with caffe_gpu_copy
Evan Shelhamer [Sat, 28 Jun 2014 01:38:39 +0000 (18:38 -0700)]
replace softmax cudaMemcpy with caffe_gpu_copy

10 years agoswitch to unified virtual addressing CUDA memcpy
Evan Shelhamer [Sat, 28 Jun 2014 01:36:48 +0000 (18:36 -0700)]
switch to unified virtual addressing CUDA memcpy

Host / device copies are distinguished by the virtual address of the
pointers instead of explicit memcpy modes.

10 years agoreport UVA in platform test
Evan Shelhamer [Fri, 27 Jun 2014 22:01:02 +0000 (15:01 -0700)]
report UVA in platform test

10 years agoMerge pull request #609 from jeffdonahue/multiconv
Evan Shelhamer [Fri, 4 Jul 2014 00:11:20 +0000 (17:11 -0700)]
Merge pull request #609 from jeffdonahue/multiconv

Generalize CONVOLUTION layer to multiple inputs/outputs