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

llvm: Reduce the amount of data copied due to parameter modulation #2321

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

jvesely
Copy link
Collaborator

@jvesely jvesely commented Feb 15, 2022

Do not create a private copy of port parameters if there is no modulation other than override.
Drop more unused parameters from the binary parameter structure.

Reduces size of DDM mech parameters: 1296B -> 520B.
Reduces size of LCA mech parameters: 2552B -> 984B.
Overall it reduces the size of parameter structure for
predator-prey: 17kB -> 7.3kB
stability-flexibility: 21kB -> 8kB

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

fixup drop params

LCA: 984
DDM: 520
total:
s/f: 8kB
p/p: 7.3kB
…tion

It's not needed as the port function is not executed in OVERRIDE case.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
@jvesely jvesely added the compiler Runtime Compiler label Feb 15, 2022
@jvesely jvesely added this to In progress in LLVM Runtime Compiler via automation Feb 15, 2022
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely merged commit 71290c2 into PrincetonUniversity:devel Feb 15, 2022
LLVM Runtime Compiler automation moved this from In progress to Done Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Runtime Compiler
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant