BVLC/caffe — pull request #415 by kloudkl (2014-05-14 08:23:27+00:00)
Title: Wrap the CPU and GPU math functions in math backend classes

This PR wraps the math functions as suggested by both [Yangqing](https://github.com/BVLC/caffe/issues/382#issuecomment-42465152) in #382 and [jeffdonahue](https://github.com/BVLC/caffe/issues/408#issuecomment-43035934) in #408 to abstract the device type from the algorithms.