More work on multi-threaded version, fixed alignment issues in DMA.

BulletMultiThreaded shared implementation works now on both Win32 Threads and PS3 Cell SPU.
This commit is contained in:
ejcoumans
2007-06-16 02:06:24 +00:00
parent ca1c42f07f
commit 272a7dfac4
5 changed files with 258 additions and 161 deletions

View File

@@ -21,8 +21,8 @@ subject to the following restrictions:
///Tuning value to optimized SPU utilization
///Too small value means Task overhead is large compared to computation (too fine granularity)
///Too big value might render some SPUs are idle, while a few other SPUs are doing all work.
//#define SPU_BATCHSIZE_BROADPHASE_PAIRS 16
#define SPU_BATCHSIZE_BROADPHASE_PAIRS 256
#define SPU_BATCHSIZE_BROADPHASE_PAIRS 16
//#define SPU_BATCHSIZE_BROADPHASE_PAIRS 256
class SpuCollisionTaskProcess;