first initialization of curand