llvm-project/mlir
Stella Laurenzo 5d6d30edf8 [mlir] Extend C and Python API to support bulk loading of DenseElementsAttr.
* This already half existed in terms of reading the raw buffer backing a DenseElementsAttr.
* Documented the precise expectations of the buffer layout.
* Extended the Python API to support construction from bitcasted buffers, allowing construction of all primitive element types (even those that lack a compatible representation in Python).
* Specifically, the Python API can now load all integer types at all bit widths and all floating point types (f16, f32, f64, bf16).

Differential Revision: https://reviews.llvm.org/D111284
2021-10-07 08:42:12 -07:00
..
cmake/modules [mlir][python] Simplify python extension loading. 2021-09-03 00:43:28 +00:00
docs [MLIR] Update DRR doc with returnType directive 2021-10-06 17:32:40 +00:00
examples [mlir] Add value_begin/value_end methods to DenseElementsAttr 2021-09-21 01:57:43 +00:00
include [mlir] Extend C and Python API to support bulk loading of DenseElementsAttr. 2021-10-07 08:42:12 -07:00
lib [mlir] Extend C and Python API to support bulk loading of DenseElementsAttr. 2021-10-07 08:42:12 -07:00
python [mlir][linalg] Add unsigned min/max/cast function to OpDSL. 2021-10-07 06:27:20 +00:00
test [mlir] Extend C and Python API to support bulk loading of DenseElementsAttr. 2021-10-07 08:42:12 -07:00
tools [mlir][linalg] Add unsigned min/max/cast function to OpDSL. 2021-10-07 06:27:20 +00:00
unittests [mlir] Tighten strided layout specification. 2021-10-04 10:37:05 +00:00
utils [mlir][spirv] Fix path in define_enum.sh script 2021-10-05 09:32:01 -04:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt MLIR can't support -Bsymbolic link option, fail at CMake time with a helpful message instead of broken runtime 2021-09-26 00:36:31 +00:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.