Gpu test

This PR need https://github.com/Theano/Theano/pull/1366 to be merged to work correctly.