main
test-branch
| Line | |
|---|
| 1 | #ifndef _OMP_
|
|---|
| 2 | #define _OMP_
|
|---|
| 3 |
|
|---|
| 4 | typedef struct omp_lock_t omp_lock_t;
|
|---|
| 5 |
|
|---|
| 6 | typedef struct omp_nest_lock_t omp_nest_lock_t;
|
|---|
| 7 |
|
|---|
| 8 | void omp_set_num_threads (int);
|
|---|
| 9 | int omp_get_num_threads (void);
|
|---|
| 10 | int omp_get_max_threads (void);
|
|---|
| 11 | int omp_get_thread_num (void);
|
|---|
| 12 | int omp_get_num_procs (void);
|
|---|
| 13 | int omp_in_parallel (void);
|
|---|
| 14 | void omp_set_dynamic (int);
|
|---|
| 15 | int omp_get_dynamic (void);
|
|---|
| 16 | void omp_set_nested (int);
|
|---|
| 17 | int omp_get_nested (void);
|
|---|
| 18 | void omp_init_lock (omp_lock_t *);
|
|---|
| 19 | void omp_destroy_lock (omp_lock_t *);
|
|---|
| 20 | void omp_set_lock (omp_lock_t *);
|
|---|
| 21 | void omp_unset_lock (omp_lock_t *);
|
|---|
| 22 | int omp_test_lock (omp_lock_t *);
|
|---|
| 23 | void omp_init_nest_lock (omp_nest_lock_t *);
|
|---|
| 24 | void omp_destroy_nest_lock (omp_nest_lock_t *);
|
|---|
| 25 | void omp_set_nest_lock (omp_nest_lock_t *);
|
|---|
| 26 | void omp_unset_nest_lock (omp_nest_lock_t *);
|
|---|
| 27 | int omp_test_nest_lock (omp_nest_lock_t *);
|
|---|
| 28 | double omp_get_wtime (void);
|
|---|
| 29 | double omp_get_wtick (void);
|
|---|
| 30 |
|
|---|
| 31 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.