Add support for AVX2 and runtime feature detection (#174)
- [x] run unit tests - [x] run all samples
This commit is contained in:
parent
51f056e0a9
commit
e77352cd60
53 changed files with 4681 additions and 3376 deletions
|
|
@ -52,7 +52,7 @@ typedef struct b3ContactConstraint
|
|||
int manifoldCount;
|
||||
} b3ContactConstraint;
|
||||
|
||||
int b3GetWideContactConstraintByteCount( void );
|
||||
int b3GetWideContactConstraintByteCount( int simdWidth );
|
||||
|
||||
// Overflow contacts don't fit into the constraint graph coloring
|
||||
void b3PrepareContacts_Overflow( b3StepContext* context );
|
||||
|
|
@ -75,3 +75,19 @@ void b3PushContacts_Convex( b3SolverBlock block, b3StepContext* context );
|
|||
void b3SolveContacts_Convex( b3SolverBlock block, b3StepContext* context );
|
||||
void b3ApplyRestitution_Convex( b3SolverBlock block, b3StepContext* context );
|
||||
void b3StoreImpulses_Convex( b3SolverBlock block, b3StepContext* context, int workerIndex );
|
||||
|
||||
void b3PrepareContacts_ConvexW4( b3SolverBlock block, b3StepContext* context );
|
||||
void b3WarmStartContacts_ConvexW4( b3SolverBlock block, b3StepContext* context );
|
||||
void b3PushContacts_ConvexW4( b3SolverBlock block, b3StepContext* context );
|
||||
void b3SolveContacts_ConvexW4( b3SolverBlock block, b3StepContext* context );
|
||||
void b3ApplyRestitution_ConvexW4( b3SolverBlock block, b3StepContext* context );
|
||||
void b3StoreImpulses_ConvexW4( b3SolverBlock block, b3StepContext* context, int workerIndex );
|
||||
int b3GetWideContactConstraintByteCountW4( void );
|
||||
|
||||
void b3PrepareContacts_ConvexW8( b3SolverBlock block, b3StepContext* context );
|
||||
void b3WarmStartContacts_ConvexW8( b3SolverBlock block, b3StepContext* context );
|
||||
void b3PushContacts_ConvexW8( b3SolverBlock block, b3StepContext* context );
|
||||
void b3SolveContacts_ConvexW8( b3SolverBlock block, b3StepContext* context );
|
||||
void b3ApplyRestitution_ConvexW8( b3SolverBlock block, b3StepContext* context );
|
||||
void b3StoreImpulses_ConvexW8( b3SolverBlock block, b3StepContext* context, int workerIndex );
|
||||
int b3GetWideContactConstraintByteCountW8( void );
|
||||
|
|
|
|||
Loading…
Reference in a new issue