Previously, we choose the median of three values. We now choose the median of
five values when the number of values being sorted exceed a threshold
(currently 100). This is similar to std::sort.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
We should perhaps start thinking about moving all sorted related codegen to a more general place and in its own file.
(not know, but this is becoming a powerful utility that others may want to use too)
mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp | ||
---|---|---|
438 | The new insertion point is right .... |
The new insertion point is right ....