Rename caffe_hamming_distance into caffe_cpu_hamming_distance
Implement and test gpu hamming distance
Merge pull request #272 from kloudkl/gpu_hamming_distance

Implement GPU Hamming distance math function