Skip to content

Conversation

@JulianGCalderon
Copy link
Contributor

@JulianGCalderon JulianGCalderon commented Sep 17, 2024

Missing dynamic layout features

Solves #1834

Features

  • dynamic memory units per step. This attributes used to be a fixed constant MEMORY_UNITS_PER_STEP. This PR changes this to use a CairoLayout attribute instead
  • negative log diluted units per step. I added an attribute to DilutedPoolInstanceDef that indicates if log_units_per_step is negative or positive.
  • low ratio builtins with ratio den. Builtins that can have a low ratio now use the LowRatio struct, which has a denominator and a numerator.
  • dynamic cpu component step. Currently not used

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.
    • CHANGELOG has been updated.

@JulianGCalderon JulianGCalderon force-pushed the dynamic-layout-2 branch 2 times, most recently from b0242c4 to 515063a Compare October 1, 2024 16:41
@JulianGCalderon JulianGCalderon marked this pull request as ready for review October 1, 2024 18:44
Copy link
Collaborator

@pefontana pefontana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @JulianGCalderon !!!
Also, can you add a little documentation in the readme explaining how to use the dynamic layout

@pefontana pefontana added this pull request to the merge queue Oct 4, 2024
Merged via the queue into main with commit 3fb0344 Oct 4, 2024
@pefontana pefontana deleted the dynamic-layout-2 branch October 4, 2024 15:56
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.

7 participants