Is there a portable way to generate random numbers with OpenACC? I know that it is possible to directly use cuRand but then I am restricted to Nvidia GPUs. Another option seems to be generating numbers on the host and then moving them to the device, but that does not seem like the best solution performance-wise.
Is there a better way?
Aucun commentaire:
Enregistrer un commentaire