Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Code buffer caps kernels at 16 KiB regardless of chip #133

Description

@Zaneham

--tt-chip now reports the correct hardware ceiling in .segments, 1497 KiB on Blackhole, but two of Booth's own limits sit far below it. RV_BUF_MAX_WORDS is 4096 words, and TD_L1_CODE_RSV reserves 32 KiB for code with the runtime args slab starting immediately after at 0x8000.

So a Blackhole kernel over 16 KiB gets refused for no hardware reason. Raising the buffer past 32 KiB means moving TD_L1_RTARG_BASE and TD_L1_CB_BASE too, which is an L1 map change rather than a constant bump.

Not urgent, nothing is close to hitting it. Real kernels are currently hundreds of bytes. Worth fixing before anyone tries something large enough to trip it and gets a misleading message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: TensixTenstorrent Tensix / Metalium backendenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions