added 2 ops: DownsampleFactorMax and DownsampleFactorMaxGrad on the new gpu back end

it's correctly indented on my side.

"""
You kernel and C code below will completely break on data that is not
'float32'. Either fix that or add a check in the make_node().
"""

how?

On 6/27/14, abergeron <notifications@github.com> wrote:
>> +                            gx[i0*gxS0 + i1*gxS1 + x_row*gxS2 +
>> x_col*gxS3]
>> +                               = (my_z == x[i0*xS0 + i1*xS1 + x_row*xS2
>> +
>> +                                            x_col*xS3]) ? my_gz : 0.0f;
>> +                        }
>> +
>> +                    }
>> +                }
>> +            }
>> +        }
>> +        """ % locals()
>> +
>> +    def c_compiler(self):
>> +      return NVCC_compiler
>> +
>> +    def c_headers(self):
>> +      #return ['cuda.h', 'gpuarray/types.h', 'gpuarray/array.h',
>> 'gpuarray/extension.h', 'numpy_compat.h']
>
> Delete the line, don't comment it.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/Theano/Theano/pull/1930/files#r14308467