[Mlir-commits] [mlir] [mlir][CAPI][python] expose the python bindings for linalg::isaConvolutionOpInterface and linalg::inferConvolutionDims (PR #135253)

Shenghang Tsai llvmlistbot at llvm.org
Fri Apr 11 00:26:41 PDT 2025


jackalcooper wrote:

this PR seems to cause breakage in downstream CAPI users
```cpp
/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/mlir/lib/../include/mlir-c/Dialect/Linalg.h:34:20: error: must use 'struct' tag to refer to type 'MlirLinalgContractionDimensions'
MLIR_CAPI_EXPORTED MlirLinalgContractionDimensions
                   ^
                   struct 
/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/mlir/lib/../include/mlir-c/Dialect/Linalg.h:50:20: error: must use 'struct' tag to refer to type 'MlirLinalgConvolutionDimensions'
MLIR_CAPI_EXPORTED MlirLinalgConvolutionDimensions
                   ^
                   struct 
```

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


More information about the Mlir-commits mailing list