BVLC/caffe — pull request #1511 by mtamburrano (2014-12-01 16:54:17+00:00)
Title: caffe_set now works in GPU mode

caffe_set for GPU mode.

I'm not sure this works when `alpha != 0`, I've not at the moment a gpu to test it. My doubt is that when the vector `Y` is gpu data, could not be directly accessible.
If I have no directions in the next two days, I'll try to test it with a gpu.