[Mlir-commits] [mlir] [mlir:python] Prevent crash in	DenseElementsAttr. (PR #163564)
    Ingo Müller 
    llvmlistbot at llvm.org
       
    Thu Oct 23 05:20:03 PDT 2025
    
    
  
ingomueller-net wrote:
Right, but I think that that has a few workable solutions. For example, we can include `dlpack.h`. It should even be enough to use just enum values; DLPack is an ABI and it doesn't really matter whether we take the values from the DLPack enum or the nanobind enum. Second, we can even just copy the enum values; DLPack can only ever add values to that enum. Finally, we can also add the enum values to nanobind; however, we'd have to increase the required version again, which may cause friction for some users/developers. WDYT?
https://github.com/llvm/llvm-project/pull/163564
    
    
More information about the Mlir-commits
mailing list