| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR][Python] Implement pybind adapters for MlirBlock Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D155092 | 2 年前 | |
[MLIR][CAPI] Add C API dialect registration methods for Arith, Math, MemRef and Vector dialects Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D155450 | 2 年前 | |
[mlir][python] improve usability of Python affine construct bindings - Provide the operator overloads for constructing (semi-)affine expressions in Python by combining existing expressions with constants. - Make AffineExpr, AffineMap and IntegerSet hashable in Python. - Expose the AffineExpr composition functionality. Reviewed By: gysit, aoyal Differential Revision: https://reviews.llvm.org/D113010 | 4 年前 | |
[mlir][linalg][python] Add attribute support to the OpDSL. Extend the OpDSL with index attributes. After tensors and scalars, index attributes are the third operand type. An index attribute represents a compile-time constant that is limited to index expressions. A use cases are the strides and dilations defined by convolution and pooling operations. The patch only updates the OpDSL. The C++ yaml codegen is updated by a followup patch. Differential Revision: https://reviews.llvm.org/D104711 | 4 年前 | |
[backport][mlir] Add Python bindings for DenseResourceElementsAttr. (#66319) Only construction and type casting are implemented. The method to create is explicitly named "unsafe" and the documentation calls out what the caller is responsible for. There really isn't a better way to do this and retain the power-user feature this represents. originally by: Stella Laurenzo reference: https://github.com/llvm/llvm-project/commit/f66cd9e9556a53142a26a5c21a72e21f1579 | 9 个月前 | |
[mlir] Add support for TF32 as a Builtin FloatType This diff adds support for TF32 as a Builtin floating point type. This supplements the recent addition of the TF32 semantic to the LLVM APFloat class by extending usage to MLIR. https://reviews.llvm.org/D151923 More information on the TF32 type can be found here: https://blogs.nvidia.com/blog/2020/05/14/tensorfloat-32-precision-format/ Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D153705 | 2 年前 | |
Apply clang-tidy fixes for llvm-header-guard in MLIR (NFC) Differential Revision: https://reviews.llvm.org/D117251 | 4 年前 | |
[mlir] Improve debug flag management in Python bindings Expose the debug flag as a readable and assignable property of a dedicated class instead of a write-only function. Actually test the fact of setting the flag. Move test to a dedicated file, it has zero relation to context_managers.py where it was added. Arguably, it should be promoted from mlir.ir to mlir module, but we are not re-exporting the latter and this functionality is purposefully hidden so can stay in IR for now. Drop unnecessary export code. Refactor C API and put Debug into a separate library, fix it to actually set the flag to the given value. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D100757 | 5 年前 | |
[mlir] Use more C99 comments in C API header files These were left over from the original reformatting commit. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D95357 | 5 年前 | |
[mlir] Fix and test python bindings for dump_to_object_file Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D136334 | 3 年前 | |
[MLIR] Add a number of methods to the C API Those include: - mlirFuncSetArgAttr - mlirOperationSetOperands - mlirRegionTakeBody - mlirBlockInsertArgument Reviewed By: ftynse, jpienaar Differential Revision: https://reviews.llvm.org/D155091 | 2 年前 | |
[mlir] Add C API for IntegerSet Depends On D95357 Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D95368 | 5 年前 | |
[MLIR] Add InferShapedTypeOpInterface bindings Add C and python bindings for InferShapedTypeOpInterface and ShapedTypeComponents. This allows users to invoke InferShapedTypeOpInterface for ops that implement it. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D149494 | 3 年前 | |
[mlir][CAPI] Allow running pass manager on any operation mlirPassManagerRun is currently restricted to running on builtin.module ops, but this restriction doesn't exist on the C++ side. This renames it to mlirPassManagerRunOnOp and updates it to take MlirOperation instead of MlirModule. Depends on D143352 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D143354 | 3 年前 | |
[mlir] Fix -Wstrict-prototypes warning These warnings prevent compilation using clang and -DLLVM_ENABLE_WERROR=On. Differential revision: https://reviews.llvm.org/D139322 | 3 年前 | |
[mlir][CAPI] Expose the rest of MLIRContext's constructors It's recommended practice that people calling MLIR in a loop pre-create a LLVM ThreadPool and a dialect registry and then explicitly pass those into a MLIRContext for each compilation. However, the C API does not expose the functions needed to follow this recommendation from a project that isn't calling MLIR's C++ dilectly. Add the necessary APIs to mlir-c, including a wrapper around LLVM's ThreadPool struct (so as to avoid having to amend or re-export parts of the LLVM API). Reviewed By: makslevental Differential Revision: https://reviews.llvm.org/D153593 | 2 年前 | |
[mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). Re-applies the reverted https://reviews.llvm.org/D90824 now that the link issue on BFD has been resolved. This reverts commit bb9b5d39712e39e15b22b36e8138075cea0cd7b5. Differential Revision: https://reviews.llvm.org/D91044 | 5 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 5 年前 |