Skip to content

[NFC][Codegen] Move getEncodingInfo to PackedLayoutAttrInterface - #20780

Merged
jtuyls merged 3 commits into
mainfrom
users/jtuyls/packed-layout-attr-interface
May 13, 2025
Merged

jtuyls merged 3 commits into
mainfrom
users/jtuyls/packed-layout-attr-interface

Conversation

@jtuyls

@jtuyls jtuyls commented May 12, 2025

Copy link
Copy Markdown
Contributor

Stacked on top of #20778.

While moving the LayoutAttrInterface from Codegen to Encoding, we shouldn't move the getEncodingInfo method as this is data-tiling (not encoding) specific. I propose to move this method to a new PackedLayoutAttrInterface interface that is data-tiling specific.

The PR to move LayoutAttrInterface from Codegen to Encoding will be stacked on top of this.

@jtuyls
jtuyls force-pushed the users/jtuyls/packed-layout-attr-interface branch from e8d155a to 393e091 Compare May 12, 2025 14:58
@jtuyls
jtuyls force-pushed the users/jtuyls/packed-layout-attr-interface branch from 393e091 to f48dcb9 Compare May 12, 2025 15:04
Base automatically changed from users/jtuyls/nop-layout-external-model to main May 12, 2025 18:50

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup, and thanks for cleaning my TODO!

@jtuyls
jtuyls merged commit 98be587 into main May 13, 2025
@jtuyls
jtuyls deleted the users/jtuyls/packed-layout-attr-interface branch May 13, 2025 07:07
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
)

While moving the `LayoutAttrInterface` from Codegen to Encoding, we
shouldn't move the `getEncodingInfo` method as this is data-tiling (not
encoding) specific. I propose to move this method to a new
`PackedLayoutAttrInterface` interface that is data-tiling specific.

---------

Signed-off-by: Jorn Tuyls <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants