add random generator in kernel, now it works for cifar10