commit | 030e8feb12169065d92205d2c7a34d8f92c230b2 | [log] [tgz] |
---|---|---|
author | Clement Farabet <clement.farabet@gmail.com> | Sat Jul 20 22:23:44 2013 -0400 |
committer | Clement Farabet <clement.farabet@gmail.com> | Sat Jul 20 22:23:44 2013 -0400 |
tree | fa0240ab70b7984a97158bc640aad403b7fefa36 | |
parent | 730a70272d6302255e5948d2f626f8e4e515d9c2 [diff] |
Fixed CUDA random generation entirely. The state machine is now called piece-wise, by blocks of size 2^24 at most. 2^24 turns out to be the max precision for single precision floats (mantissa). Since the randomizer's state is encoded into the vector itself (floats), it was the easiest fix.