Clone of http://code.google.com/p/cuda-convnet/