This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Support Index and AnyInteger in loop op
ClosedPublic

Authored by clementval on Sep 17 2020, 12:12 PM.

Details

Summary

Following patch D87712, this patch switch AnyInteger for operands gangNum, gangStatic,
workerNum, vectoreLength and tileOperands to Index and AnyInteger.

Diff Detail

Event Timeline

clementval created this revision.Sep 17 2020, 12:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2020, 12:12 PM
clementval requested review of this revision.Sep 17 2020, 12:12 PM
ftynse accepted this revision.Sep 18 2020, 1:24 AM
ftynse added inline comments.
mlir/test/Dialect/OpenACC/ops.mlir
209–233

Syntax nit: we had a similar model with two colons in attribute dictionaries some time ago, but later switched to keyword=value:type. You may want to use such a syntax here as well, but I won't insist.

This revision is now accepted and ready to land.Sep 18 2020, 1:24 AM
clementval added inline comments.Sep 18 2020, 7:33 AM
mlir/test/Dialect/OpenACC/ops.mlir
209–233

I think it is a good idea so I'll update the syntax before pushing.

Address review comment

Update comment to reflect operation syntax.

This revision was landed with ongoing or failed builds.Sep 18 2020, 8:37 AM
This revision was automatically updated to reflect the committed changes.