occa
occa copied to clipboard
Add occa::array methods: sort and prefixSum
Implement an initial array.sort() method based on the backend:
- CPU:
std::sort - GPU: bitonic sort
Eventually would be nice to have more performant kernels based on the type (e.g. Use OpenMP threads / radix sort)