towards GPU joint (non-contact) constraint solving. The ConstraintDemo shows that CPU performance is very good, so not much performance win is to be expected.

This commit is contained in:
erwin coumans
2013-07-02 21:13:42 -07:00
parent 72042f3094
commit 28f6e0fbd3
5 changed files with 635 additions and 8 deletions

View File

@@ -663,7 +663,7 @@ void b3GpuBatchingPgsSolver::solveContacts(int numBodies, cl_mem bodyBuf, cl_mem
if (maxNumBatches>globalMaxBatch )
{
globalMaxBatch = maxNumBatches;
printf("maxNumBatches = %d\n",maxNumBatches);
b3Printf("maxNumBatches = %d\n",maxNumBatches);
}
clFinish(m_data->m_queue);