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

[runtime] Increase stack size for the LLVM backend #15

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

zero9178
Copy link
Member

@zero9178 zero9178 commented Jun 6, 2024

The LLVM backend and IREE host-code use a non-trivial amount of stack space. Measurements on NsNet2 showed both to need around 10kb of stack space per core. This PR therefore increases the stack size from the previous 8kB to 16kB.

Note that the stack memory is placed into L1 memory. Whether this makes any sense and whether to spend more time on reducing stack space to have more L1 memory for buffers remains to be seen.

The LLVM backend and IREE host-code use a non-trivial amount of stack space. Measurements on NsNet2 showed both to need around 10kb of stack space per core. This PR therefore increases the stack size from the previous 8kB to 16kB.

Note that the stack memory is placed into L1 memory. Whether this makes any sense and whether to spend more time on reducing stack space to have more L1 memory for buffers remains to be seen.
@zero9178 zero9178 merged commit 2fb4c21 into main Jun 6, 2024
1 check passed
@zero9178 zero9178 deleted the stack-space-increase branch June 6, 2024 15:48
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.

1 participant