Closed bondhugula closed 4 years ago
The above was from a release build - so scratch that. The only issue is the missing attribute on the op here - adding it would help with verification and preserving during transformation and lowering.
Can you please try again? The CL that adds alignment to alloc should help.
On Sat, Nov 16, 2019 at 11:45 AM jpienaar notifications@github.com wrote:
Assigned #231 https://github.com/tensorflow/mlir/issues/231 to @nicolasvasilache https://github.com/nicolasvasilache.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/tensorflow/mlir/issues/231?email_source=notifications&email_token=ACNNU5FFJOETQ2NKDLDUTTLQUAPUNA5CNFSM4JLQNUSKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOU4XPTBQ#event-2804873606, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNNU5HN5VVHZ4KMIOUPVU3QUAPUNANCNFSM4JLQNUSA .
-- N
I now notice that the attribute has been added on AllocOp.
https://github.com/tensorflow/mlir/blob/c902682b0ee21c7b91228df2bfe252ee14bc26ae/test/mlir-cpu-runner/linalg_integration_test.mlir#L17
is adding an alignment attribute that is not defined on the op: https://github.com/tensorflow/mlir/blob/c902682b0ee21c7b91228df2bfe252ee14bc26ae/include/mlir/Dialect/StandardOps/Ops.td#L170
Adding the attribute to the op (such as with 'Confined<OptionalAttr, [IntMinValue<0>]>:$alignment') yields test failures like these that provide no clues!