jeudi 27 avril 2017

CUDA Array shuffling?

I'm working on a cuda Kernel that could shuffle an array of size N (N is supposed to be very large, that's why I can't do a shuffle on CPU and then copy the array back to the GPU memory). I'm aware on how to generate random numbers in CUDA but I have no idea on how to randomly shuffle an array of int... Maybe someone has already tried something like this ?

Thanks a lot !




Aucun commentaire:

Enregistrer un commentaire