Fork of the original cuda-convnet code.