Skip to content

[flow] Extend reduction fusion by relaxing the existing conditions #9772

Closed

Description

@okkwon

Request description

Currently, there are several restrictions to match simple reduction + broadcast + elementwise.

  1. The number of inputs to reduction is 1 or 2.
  2. One of them is identity and the other one is identity or broadcast.
  3. The elementwise op does not have an output transpose.
  4. A same indexing map is used for reduction and broadcast.

By relaxing these conditions, we may cover more cases. It needs application study, codegen sanity check, and performance evaluation.

What component(s) does this issue relate to?

Compiler

Additional context

No response

Activity

  1. added
    enhancement ➕
    codegen
    on Jul 12, 2022
  2. self-assigned this
    on Jul 12, 2022
  3. okkwon commented on Aug 3, 2022

    @okkwon
    MemberAuthor

    Passing it to Mahesh for future coordination with a low priority.

  4. added a commit that references this issue on Sep 28, 2022
    9886617
  5. added a commit that references this issue on Sep 29, 2022
    1631fdf
  6. added a commit that references this issue on Oct 3, 2022
    9c28c0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

codegenenhancement ➕

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions