llvm-project/mlir/lib/CAPI
zhanghb97 77133b29b9 [mlir] Get array from the dense elements attribute with buffer protocol.
- Add `mlirElementsAttrGetType` C API.
- Add `def_buffer` binding to PyDenseElementsAttribute.
- Implement the protocol to access the buffer.

Differential Revision: https://reviews.llvm.org/D91021
2020-11-18 15:50:59 +08:00
..
IR [mlir] Get array from the dense elements attribute with buffer protocol. 2020-11-18 15:50:59 +08:00
Registration [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
Standard [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
Transforms [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
CMakeLists.txt [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00