Ensured that every thread has a unique seed in pi2.cu