ну фишка в том что на гпу нет автоматического тримминга интов как на цпу (ятп потому что и интов особо нет). А почти все алгоритмы рандома подразумевают его
If during the evaluation of an expression, the result is not mathematically defined or not in the range of representable values for its type, the behavior is undefined. [ Note: most existing implementations of C++ ignore integer overflows. […]]