Remove Warning in getRand
Printf with %zu for size_t
Fix forgotten Cast
Merge pull request #583 from ax3l/topic-cudaMemtest32bit

Close #574 cuda-memtest 32bit