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

[Direct Metal] Insert scaler CB in reduce kernels #1153

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 4, 2024

  1. Insert scaler CB in reduce kernels

    When lowering reduce op, compiler will add additional CB that
    will represent scaler CB needed by LLK. ScalerCB is filled by
    constant according to type of reduce operation.
    
    An idea is to leave preallocated space at the top of L1 memory for
    misc usage in kernels. Scaler CB should be placed inside of this region.
    Also, TTIR ops should not have context of scaler CB. It should appear
    only in TTKernel dialect as additional arg when lowering reduce
    operations.
    
    ScalerCB is populated during kernel runtime, and that should be done
    in NOC thread since that thread can read zeros in a burst.
    rpavlovicTT committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    7a80cba View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    80e80a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    6970720 View commit details
    Browse the repository at this point in the history