Work towards: https://github.com/llvm/llvm-project/issues/51652
The new functions fill the gap between overheadTypeEncoding and get{Pointer,Index}OverheadType.
Differential D122056
[mlir][sparse] Adding {pointer,index}OverheadTypeEncoding wrengr on Mar 18 2022, 8:02 PM. Authored by
Details Work towards: https://github.com/llvm/llvm-project/issues/51652 The new functions fill the gap between overheadTypeEncoding and get{Pointer,Index}OverheadType.
Diff Detail
Event TimelineComment Actions Since writing this differential I managed to adjust the implementation of enumerators in D122060 so that the subsequent D122061 can remain ignorant of the source tensor's <P,I> template parameters. Originally, the functions in this differential were used in D122061 in order to detect/assert that the source tensor's <P,I> match the target tensor's <P,I>. Even though they're no longer being used anywhere, I think it's still useful to fill the API gap.
|
here, and below, I don't feel very strongly about this, but using a parameter name even here seems more consistent with this file, so
const SparseTensorEncodingAttr &enc