[Mlir-commits] [mlir] [MLIR, Python] Support converting boolean numpy arrays to and from mlir attributes (PR #113064)

Maksim Levental llvmlistbot at llvm.org
Tue Nov 5 07:05:14 PST 2024


makslevental wrote:

> then extracts a pointer into it:
> 
> ```c++
>     py::buffer_info pythonBuffer =
>         unpacked_booleans.cast<py::buffer>().request();
> ```
> 

Ah I believe there's some API equivalent to `release()` because we do munge `py:buffer`s elsewhere...

> I'm going to revert the patch now.

Sure - I can stamp.


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


More information about the Mlir-commits mailing list