Changeset 5f55444 in OpenModelica


Ignore:
Timestamp:
2016-04-04T12:43:52+02:00 (8 years ago)
Author:
Martin Sjölund <martin.sjolund@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, master, omlib-staging
Children:
492b0cc
Parents:
0aff3d1
Message:

Reduce the maximum codegen threads to 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Compiler/SimCode/SimCodeMain.mo

    r2ddae713 r5f55444  
    633633          true := max(func() for func in codegenFuncs);
    634634        else
    635           true := max(l for l in System.launchParallelTasks(min(4, numThreads) /* Boehm GC does not scale to infinity */, codegenFuncs, runCodegenFunc));
     635          true := max(l for l in System.launchParallelTasks(min(2, numThreads) /* Boehm GC does not scale to infinity */, codegenFuncs, runCodegenFunc));
    636636        end if;
    637637      then ();
Note: See TracChangeset for help on using the changeset viewer.