Opened 3 years ago

Closed 3 years ago

#5098 closed enhancement (fixed)

Improve CodeSplitter to reduce size of generated c functions

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone: Future
Component: Modelica/MiddleEnd Version: trunk
Keywords: #5097. Cc:

Description

This is a part of #5097.

The CodeSplitter class is used to generate a dynamic number of c functions from a list of elements. The size of the functions is based on a set limit which reduces the number of elements in each function. It should be possible to also account for number of scalar equations in an element, and any number of scalar temporaries.

Change History (4)

comment:1 Changed 3 years ago by Jonathan Kämpe

Component: Modelica/FrontEndModelica/MiddleEnd
Milestone: Future

comment:2 Changed 3 years ago by Zimon Kuhs

changeset:9209

Code splitting during C-code generation now considers the number of scalar elements.

comment:3 Changed 3 years ago by Zimon Kuhs

changeset:9228

Code splitting during C-code generation now considers the number of scalar temporaries.

Last edited 3 years ago by Zimon Kuhs (previous) (diff)

comment:4 Changed 3 years ago by Jonathan Kämpe

Resolution: fixed
Status: newclosed

changeset:9242'

Merging r9209, r9228 to release branch

Note: See TracTickets for help on using tickets.