Add per-island PGS solver dispatch.
Total testspeed runtime for `2humanoids100.xml` reduced by 27.6% (63.4 -> 49.5s) due to early termination on small islands PiperOrigin-RevId: 906910915 Change-Id: If55ad468c3680ef44eda7000455a77f8003b3122
This commit is contained in:
committed by
Copybara-Service
parent
00fff8c780
commit
647af382c1
@@ -35,10 +35,19 @@ void mj_solNewton(const mjModel* m, mjData* d, int maxiter);
|
||||
|
||||
//------------------------------ per-island solvers ------------------------------------------------
|
||||
|
||||
// PGS solver (one island, no dualFinish — caller handles it)
|
||||
void mj_solPGS_island(const mjModel* m, mjData* d, int island, int maxiter);
|
||||
|
||||
// NoSlip solver (one island, no dualFinish — caller handles it)
|
||||
void mj_solNoSlip_island(const mjModel* m, mjData* d, int island, int maxiter);
|
||||
|
||||
// CG solver
|
||||
void mj_solCG_island(const mjModel* m, mjData* d, int island, int maxiter);
|
||||
|
||||
// Newton entry point
|
||||
void mj_solNewton_island(const mjModel* m, mjData* d, int island, int maxiter);
|
||||
|
||||
// map efc_force to joint space (used after dual island dispatch)
|
||||
void mj_dualFinish(const mjModel* m, mjData* d);
|
||||
|
||||
#endif // MUJOCO_SRC_ENGINE_ENGINE_SOLVER_H_
|
||||
|
||||
Reference in New Issue
Block a user