[mlir][sparse] Improve the non-stable sort implementation.
Replace the quick sort partition method with one that is more similar to the method used by C++ std quick sort. This improves the runtime for sorting sk_2005.mtx by more than 10x. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D137290
Loading
Please sign in to comment