Theano/Theano — pull request #2131 by Brittix1023 (2014-09-26 10:47:58+00:00)
Title: Include and library flags in nvcc.flags in config not passed to nvcc correctly

Note: I am working on the win32 platform.
Include and library flags given to nvcc.flags in the theano.rc config file are not passed to nvcc correctly; they come through separated by commas instead of spaces. (e.g. '-LC:\packages\cudnn,-IC:\packages\cudnn' instead of '-LC:\packages\cudnn -IC:\packages\cudnn').
I have made a small fix that adds '-I' and '-L' to the list of patterns that are filtered into the 'preargs1' list in the NVCC_compiler.compile_str() method.