| 1 |
|
| 2 |
|
| 3 |
/*----------------------------------------------------------*/ |
| 4 |
/* */ |
| 5 |
/* LPLIB V3.00 */ |
| 6 |
/* */ |
| 7 |
/*----------------------------------------------------------*/ |
| 8 |
/* */ |
| 9 |
/* Description: Handles threads, scheduling */ |
| 10 |
/* & dependencies */ |
| 11 |
/* Author: Loic MARECHAL */ |
| 12 |
/* Creation date: feb 25 2008 */ |
| 13 |
/* Last modification: jun 16 2010 */ |
| 14 |
/* */ |
| 15 |
/*----------------------------------------------------------*/ |
| 16 |
|
| 17 |
|
| 18 |
/*----------------------------------------------------------*/ |
| 19 |
/* User available procedures' prototypes */ |
| 20 |
/*----------------------------------------------------------*/ |
| 21 |
|
| 22 |
int InitParallel(int); |
| 23 |
void StopParallel(int); |
| 24 |
int NewType(int, int); |
| 25 |
void FreeType(int, int); |
| 26 |
int BeginDependency(int, int, int); |
| 27 |
void AddDependency(int, int, int); |
| 28 |
void EndDependency(int, float [2]); |
| 29 |
float LaunchParallel(int, int, int, void *, void *); |
| 30 |
int LaunchPipeline(int, void *, void *, int, int *); |
| 31 |
void WaitPipeline(int); |
| 32 |
int ParallelMemClear(int , void *, long); |
| 33 |
void ParallelQsort(int, void *, size_t, size_t, int (*)(const void *, const void *)); |
| 34 |
void HilbertRenumbering(int, int, double [6], double (*)[3], unsigned long long (*)[2]); |
| 35 |
void HilbertRenumbering2D(int, int, double [4], double (*)[2], unsigned long long (*)[2]); |
| 36 |
int AllocHash(int, int, int); |
| 37 |
void FreeHash(int, int); |
| 38 |
long long int AddHash(int, int, int, int, int, int, long long int); |