#5715 closed enhancement (fixed)

Unrolling array assignments in function scalarization

Reported by: Jonathan Kämpe Owned by: molsson
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

We should stop unrolling array assignments in function scalarization. It is very ineffiecent for large arrays.

Change History (21)

comment:1 Changed 12 months ago by molsson

r12097 Refactored scalarization of function call clauses

comment:2 Changed 12 months ago by molsson

r12113 Stopped unrolling loops in functions for known array sizes.

comment:3 Changed 12 months ago by molsson

r12114 Updated tests for r12113.

comment:4 Changed 12 months ago by Jonathan Kämpe

r12129 Refactored temporary generation in scalarization

comment:5 Changed 12 months ago by molsson

r12131 Added scalarization as unknown size to FCross and FSkew.

comment:6 Changed 12 months ago by molsson

r12132 Refactored loop unrolling for function in-lining, also used in FExpToCasADi.

comment:7 Changed 12 months ago by molsson

r12135 Added scalarization as unknown size to FSymmetric and FOuterProduct.

comment:8 Changed 12 months ago by molsson

r12137 Fixed bug in r12132.

comment:9 Changed 12 months ago by molsson

r12146 Fixed scalarization of element-wise multiplications in functions.

comment:10 Changed 12 months ago by molsson

r12177 Added option to toggle loop unrolling in functions.

Last edited 12 months ago by molsson (previous) (diff)

comment:11 Changed 12 months ago by molsson

r12180 Fixed minor issue with r12177.

comment:12 Changed 12 months ago by molsson

r12181 Fixed a faulty test and updated a test for r12180.

Last edited 12 months ago by molsson (previous) (diff)

comment:13 Changed 12 months ago by molsson

r12183 Fixed a bug in r12097.

comment:14 Changed 12 months ago by molsson

r12184 Merging branches/dev-mo-1877 to trunk.

comment:15 Changed 12 months ago by molsson

r12192 Increasing memory of ant process.

comment:16 Changed 11 months ago by Jonathan Kämpe

r12196 Fixed bug introduced in r12177

comment:17 Changed 11 months ago by Jonathan Kämpe

r12207 (on branch dev-jk-iter) Fixed bug in scalarization of iter exps.

Last edited 11 months ago by Jonathan Kämpe (previous) (diff)

comment:18 Changed 11 months ago by Jonathan Kämpe

r12210 (on branch dev-jk-inline) Changed no_loop_unrolling_in_functions default to true. Fixed some problems with scalarization and function inlining when not unrolling loops.

comment:19 Changed 11 months ago by Jonathan Kämpe

r12233 (on branch dev-jk-inline) Setting no_loop_unrolling_in_functions to false for casadi transfer.

comment:20 Changed 11 months ago by Jonathan Kämpe

r12243 Merging r12207 from dev-jk-iter to trunk.

comment:21 Changed 11 months ago by molsson

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.