This is an archive of the discontinued LLVM Phabricator instance.

[mlir][python] more python gpu transform mixins
ClosedPublic

Authored by ftynse on Jul 28 2023, 6:01 AM.

Details

Summary

Add the Python mix-in for MapNestedForallToThreads. Fix typing
annotations in MapForallToBlocks and drop the attribute wrapping
rendered unnecessary by attribute builders.

Diff Detail

Event Timeline

ftynse created this revision.Jul 28 2023, 6:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2023, 6:01 AM
ftynse requested review of this revision.Jul 28 2023, 6:01 AM
ingomueller-net accepted this revision.Jul 28 2023, 6:29 AM

The attribute builders are new, right?

mlir/test/python/dialects/transform_gpu_ext.py
19

Awesome! So much more consise!

This revision is now accepted and ready to land.Jul 28 2023, 6:29 AM
ftynse marked an inline comment as done.Jul 31 2023, 1:23 AM

The attribute builders are new, right?

Relatively recent.

This revision was automatically updated to reflect the committed changes.