This format was missing from the support library. Although there are some
subtleties reading in an external format for int64 as double, there is no
good reason to omit support for this data type form the support library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Just one question, otherwise looks good!
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp | ||
---|---|---|
165–172 | Is it possible to use the PrimaryTypeEnum here, or use some kind of enum? |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp | ||
---|---|---|
165–172 | Yes, that is a good suggestion. AFAIK, we are not allowed to create shared dependences between runtime and compiler (as in including the same header file). But I agree this hardcoding is a bit too error prone, so I at least created a shadow enum with a comment in this file. |
Is it possible to use the PrimaryTypeEnum here, or use some kind of enum?