Skip to content

[VectorDistribution] Add vector distribution support multi-dim reduction with scalars - #18800

Merged
Groverkss merged 10 commits into
iree-org:mainfrom
bangtianliu:reduction_vd_patch_2nd
Oct 28, 2024
Merged

Groverkss merged 10 commits into
iree-org:mainfrom
bangtianliu:reduction_vd_patch_2nd

Conversation

@bangtianliu

@bangtianliu bangtianliu commented Oct 16, 2024 •

Copy link
Copy Markdown
Contributor

Splitting #18519 into four patches.

Depends #18784

This is the second one, adding the corresponding layout analysis and especially supporting the case where reduction is performed inside scf.for operation.

Also, the relevant tests are added.

Since patch 2 includes changes from patch #18784, the necessary updates from the first patch have also been included here.

…pport for the case when the reduction is inside scf.for operation

Signed-off-by: Bangtian Liu <[email protected]>
@bangtianliu
bangtianliu requested a review from Groverkss October 16, 2024 18:58
@bangtianliu bangtianliu changed the title [VectorDistribution] PATCH 2: add scalar support for distributing multi-dim reduction (2/3) [VectorDistribution] PATCH 2: add layout analysis for distributing multi-dim reduction (2/3) Oct 16, 2024
@bangtianliu bangtianliu changed the title [VectorDistribution] PATCH 2: add layout analysis for distributing multi-dim reduction (2/3) [VectorDistribution] add layout analysis for distributing multi-dim reduction (2/3) Oct 16, 2024
@bangtianliu bangtianliu changed the title [VectorDistribution] add layout analysis for distributing multi-dim reduction (2/3) [VectorDistribution] Add layout analysis for distributing multi-dim reduction (2/3) Oct 17, 2024
@bangtianliu bangtianliu changed the title [VectorDistribution] Add layout analysis for distributing multi-dim reduction (2/3) [VectorDistribution] Add layout analysis for distributing multi-dim reduction (2/4) Oct 17, 2024
Signed-off-by: Bangtian Liu <[email protected]>
@bangtianliu
bangtianliu requested a review from kuhar October 21, 2024 22:27
Signed-off-by: Bangtian Liu <[email protected]>

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM % one comment

Signed-off-by: Bangtian Liu <[email protected]>
Signed-off-by: Bangtian Liu <[email protected]>

@Groverkss Groverkss 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.

LGTM % one comment

Signed-off-by: Bangtian Liu <[email protected]>
@Groverkss Groverkss changed the title [VectorDistribution] Add layout analysis for distributing multi-dim reduction (2/4) [VectorDistribution] Add vector distribution support multi-dim reduction with scalars Oct 28, 2024
@Groverkss
Groverkss enabled auto-merge (squash) October 28, 2024 18:40
@Groverkss
Groverkss merged commit a041798 into iree-org:main Oct 28, 2024
Eliasj42 pushed a commit that referenced this pull request Oct 31, 2024
…ion with scalars (#18800)

Splitting #18519 into four patches.

Depends #18784

This is the second one, adding the corresponding layout analysis and
especially supporting the case where reduction is performed inside
scf.for operation.

Also, the relevant tests are added.

Since patch 2 includes changes from patch #18784, the necessary updates
from the first patch have also been included here.

---------

Signed-off-by: Bangtian Liu <[email protected]>
Signed-off-by: Elias Joseph <[email protected]>
giacs-epic pushed a commit to giacs-epic/iree that referenced this pull request Dec 4, 2024
…ion with scalars (iree-org#18800)

Splitting iree-org#18519 into four patches.

Depends iree-org#18784

This is the second one, adding the corresponding layout analysis and
especially supporting the case where reduction is performed inside
scf.for operation.

Also, the relevant tests are added.

Since patch 2 includes changes from patch iree-org#18784, the necessary updates
from the first patch have also been included here.

---------

Signed-off-by: Bangtian Liu <[email protected]>
Signed-off-by: Giacomo Serafini <[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.

3 participants