Search found 1 match
- Mon Feb 05, 2024 8:53 am
- Forum: OpenSim Moco
- Topic: Multicore parallel computing with Moco
- Replies: 8
- Views: 3274
Re: Multicore parallel computing with Moco
Hi all, Some performance loss can be caused by how CasADi handles parallelization under the hood. (https://github.com/casadi/casadi/blob/main/casadi/core/function.cpp#L658-L672) The number of mesh intervals that is assigned to each parallel thread is n_mesh/n_thread, and if this is not a round numbe...