What is a good way to get the n largest elements of a CuArray?

Sorting is not implemented in CUDA.jl. See https://github.com/JuliaGPU/CUDA.jl/pull/431 for a WIP PR.

1 Like