MatX
MatX copied to clipboard
[FEA] Add operator support to cub sorting
Currently our cub sorting code calls a few members which require tensor inputs. They include IsContigious() and Data(). We should implement a path that takes operators.
Unlike other CUB APIs, the sorting API does not take iterators. We can take operators as input but they will need to be copied.