fork of https://code.google.com/p/cuda-convnet2/wiki/Compiling