How gpuArray.randperm is implemented

I looked in to the docs but it doesn't have any reference to the algorithm.
Thank you.

 Respuesta aceptada

Joss Knight
Joss Knight el 13 de Abr. de 2017
randperm calls
[~,p] = sort(rand(1,N))
but obviously does everything on the GPU.

Más respuestas (0)

Etiquetas

Preguntada:

el 10 de Abr. de 2017

Respondida:

el 13 de Abr. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by