llvm-project/mlir/python
Aart Bik d668218946 [mlir][python][ctypes] fix ctype python binding complication for complex
There is no direct ctypes for MLIR's complex (and thus np.complex128
and np.complex64) yet, causing the mlir python binding methods for
memrefs to crash. This revision fixes this by passing complex arrays
as tuples of floats, correcting at the boundaries for the proper view.

NOTE: some of these changes (4 -> 2) were forced by the new "linting"

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D126422
2022-06-01 10:15:24 -07:00
..
mlir [mlir][python][ctypes] fix ctype python binding complication for complex 2022-06-01 10:15:24 -07:00
.style.yapf
CMakeLists.txt [mlir] provide Python bindings for the Transform dialect 2022-05-30 17:37:52 +02:00
requirements.txt Upstream MLIR PyTACO implementation. 2022-01-21 08:38:36 -08:00