compute
compute copied to clipboard
boost compute partial_sort
Would it make sens to implement a boost::compute::partial_sort ? Pure Cpp std::partial_sort : http://en.cppreference.com/w/cpp/algorithm/partial_sort Looping by calling several nth_element() could be a workaround I guess. Kind
Yeah, we should be able to provide partial_sort()
implementation. Are you interested in submitting a pull request for this?
Hi @kylelutz I dont plan to implement it by myself but could help for testing/benchmarking. Would the radix select from viennaCL be good enough : https://github.com/vpa1977/smalltests/blob/master/radix_select.hpp ? kind