|
|
|||
|
|
|
CUDASort | ![]() |
| CUDASort[vec] sorts the input vector. |
| CUDASort[mem] sorts CUDAMemory in place. |
sorts input with respect to the ordering function op. |
This sorts using the Greater ordering function:
If input is CUDAMemory, then memory is returned as output:
This sorts the input CUDAMemory:
Note that the input and output memories are the same—that is, CUDASort sorts memory in place. Memory is retrieved using CUDAMemoryGet:
|