Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DT] Make the padding sizes of encodings be a scalar. #17601

Closed
wants to merge 1 commit into from

Conversation

lialan
Copy link
Contributor

@lialan lialan commented Jun 7, 2024

  • rename round_dims_to to max_padding
  • make max_padding a generic case single value attribute

Progress towards #17553

@lialan lialan force-pushed the lialan/refactor_round_dims_to branch 2 times, most recently from fe352e0 to 621de06 Compare June 7, 2024 15:37
@lialan lialan requested a review from bjacob June 7, 2024 16:06
@lialan lialan force-pushed the lialan/refactor_round_dims_to branch 2 times, most recently from 16c8878 to 5451e76 Compare June 7, 2024 16:45
@lialan lialan requested a review from bjacob June 7, 2024 16:48
@lialan lialan force-pushed the lialan/refactor_round_dims_to branch from 5451e76 to 30a172e Compare June 7, 2024 17:34
@lialan lialan force-pushed the lialan/refactor_round_dims_to branch from 30a172e to 08bd8f5 Compare June 7, 2024 19:21
@lialan lialan force-pushed the lialan/refactor_round_dims_to branch 2 times, most recently from 8bff133 to 5b264db Compare June 10, 2024 18:58
@lialan
Copy link
Contributor Author

lialan commented Jun 10, 2024

I think a better solution could be using std::optional<int64_t> padFactor. It's more aligned with how we define the padFactor in EncodingBased.td.

@hanhanW I it is much better to do in this way. I will do a subsequent PR for it later. For now just leave it as is.

@lialan lialan force-pushed the lialan/refactor_round_dims_to branch from 5b264db to c833f1c Compare June 10, 2024 19:44
@lialan lialan force-pushed the lialan/refactor_round_dims_to branch from c833f1c to f480278 Compare June 11, 2024 13:04
@hanhanW hanhanW changed the title Refactor round_dims_to [DT] Make the padding sizes of encodings be a scalar. Jun 11, 2024
@hanhanW
Copy link
Contributor

hanhanW commented Jun 11, 2024

@lialan I took a stab at better PR title and linked the related issue to the PR description. Feel free to make it better if you got some ideas. (I'm not good at naming.)

@lialan lialan force-pushed the lialan/refactor_round_dims_to branch 3 times, most recently from aa57d25 to 19d9d95 Compare June 18, 2024 14:18
* rename `round_dims_to` to `max_padding`
* make `max_padding` a generic case single value attribute

Signed-off-by: Alan Li <me@alanli.org>
@lialan lialan force-pushed the lialan/refactor_round_dims_to branch from 19d9d95 to cefe0c2 Compare June 18, 2024 17:31
@lialan
Copy link
Contributor Author

lialan commented Jul 6, 2024

Dropping this in favor of #17729

@lialan lialan closed this Jul 6, 2024
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.

3 participants