GpuContiguous, tests, better opencl support

For the opencl, we skip some tests when it isn't supported and use the cpy reduce implementation when we can.
done


On Tue, Aug 26, 2014 at 12:05 PM, abergeron <notifications@github.com>
wrote:

> In theano/sandbox/gpuarray/basic_ops.py:
>
> > @@ -872,7 +938,8 @@ def infer_shape(self, node, in_shapes):
> >          return [out_shape]
> >
> >      def grad(self, inp, grads):
> > -        return [grad_undefined(self, i, inp[i]) for i in xrange(3)]
> > +        return [theano.gradient.grad_undefined(self, i, inp[i])
> > +                for i in xrange(3)]
>
> Yes, it is inside GpuEye, I missed that. But I still don't like the change
> to the full module path.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Theano/Theano/pull/1925/files#r16723200>.
>