I created an issue on github but still no answer after 21 hours. Can 
someone confirm that this code doesn't work correctly?

    import theano
    import theano.tensor as T
    import numpy as np

    d = T.vector('d', dtype=floatX)
    d_np = np.array([1, 1, 1, 1, 0, 1, 1, 1, 1, 1], dtype=floatX)
    f = theano.function([d], d.sum())
    print(f(d_np))          # 9.0 with gpu, but 5.0 with cuda


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to