[all-commits] [llvm/llvm-project] f0e847: [mlir][python] Support buffer protocol for splat d...
rk via All-commits
all-commits at lists.llvm.org
Thu Mar 30 07:18:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0e847d0a104b45398fd0a981110098bc29250e9
https://github.com/llvm/llvm-project/commit/f0e847d0a104b45398fd0a981110098bc29250e9
Author: Rahul Kayaith <rkayaith at gmail.com>
Date: 2023-03-30 (Thu, 30 Mar 2023)
Changed paths:
M mlir/lib/Bindings/Python/IRAttributes.cpp
M mlir/test/python/ir/array_attributes.py
Log Message:
-----------
[mlir][python] Support buffer protocol for splat dense attributes
These can be made to work by setting the buffer strides to 0.
Reviewed By: stellaraccident
Differential Revision: https://reviews.llvm.org/D147187
More information about the All-commits
mailing list