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

[SplitLogicalObjFifo] Allow using gcd for computing splitFactor #1039

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

Abhishek-Varma
Copy link
Contributor

-- We anyway use gcd for computing splitFactor when split factor has
not been explicitly provided/computed. But we error out if the
provided split factor doesn't divide source/target size.
-- This commit therefore allows replacing the explicitly provided
split factor with gcd when the former doesn't divide source/target
size.

Signed-off-by: Abhishek Varma abhvarma@amd.com

-- We anyway use gcd for computing splitFactor when split factor has
   not been explicitly provided/computed. But we error out if the
   provided split factor doesn't divide source/target size.
-- This commit therefore allows replacing the explicitly provided
   split factor with gcd when the former doesn't divide source/target
   size.

Signed-off-by: Abhishek Varma <abhvarma@amd.com>
@jtuyls jtuyls merged commit 8876aa3 into main Jan 17, 2025
6 checks passed
@jtuyls jtuyls deleted the avarma_use_gcd_for_split_factor branch January 17, 2025 12:28
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