[Mlir-commits] [mlir] [mlir][sparse][pybind][CAPI] remove LevelType enum from CAPI, constru… (PR #81682)

Aart Bik llvmlistbot at llvm.org
Tue Feb 13 15:19:13 PST 2024


================
@@ -162,6 +162,8 @@ def SparseTensorEncodingAttr : SparseTensor_Attr<"SparseTensorEncoding",
 
     - **nonunique** : duplicate coordinates may appear at the level
     - **nonordered** : coordinates may appear in arbribratry order
+    - **soa** : coordinates are fused into the parent level in SoA (structure of array)
----------------
aartbik wrote:

You will have to add some text around L158 that by default, singleton is stored in AoS format, but that this default can be overwritten with the SoA property (similar to how we say that by default, stuff is ordered / unique and we can override that)

https://github.com/llvm/llvm-project/pull/81682


More information about the Mlir-commits mailing list