batching reports the size of the batches, and solver uses this as termination condition, giving a good speedup

This commit is contained in:
erwincoumans
2014-02-07 06:28:15 -08:00
parent 3768a30bb2
commit bd5c2ff5ec
12 changed files with 74 additions and 14 deletions

View File

@@ -72,6 +72,7 @@ class b3Solver : public b3SolverBase
b3OpenCLArray<unsigned int>* m_numConstraints;
b3OpenCLArray<unsigned int>* m_offsets;
b3OpenCLArray<int> m_batchSizes;
int m_nIterations;