Theano/Theano — pull request #1304 by lamblin (2013-03-26 23:20:42+00:00)
Title: Fix C code of GpuDownsampleFactorMaxGrad.

It was causing errors when running with cuda-memcheck, or when running
on Mac OS X.
It should fix the remaining issues described in gh-1172.