This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Refactor transform dialect's gpu block func
ClosedPublic

Authored by guraypp on Sep 27 2022, 2:53 AM.

Details

Summary

This revision refactors gpu block id generator lambda that is used in the transform dialect. It removes the lambda and instead uses a static function that's name generateGpuBlockIds.

It also simplifies arguments that the function takes.

Diff Detail

Event Timeline

guraypp created this revision.Sep 27 2022, 2:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 2:53 AM
guraypp requested review of this revision.Sep 27 2022, 2:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 2:53 AM
nicolasvasilache accepted this revision.Sep 27 2022, 3:18 AM
nicolasvasilache added inline comments.
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
1487

doc this please.

This revision is now accepted and ready to land.Sep 27 2022, 3:18 AM
guraypp updated this revision to Diff 463172.Sep 27 2022, 3:26 AM

add documentation on the block generator

This revision was landed with ongoing or failed builds.Sep 27 2022, 3:27 AM
This revision was automatically updated to reflect the committed changes.