| 1 |
cdef extern from "conditional_omp.h": |
| 2 |
ctypedef struct omp_lock_t: |
| 3 |
pass |
| 4 |
extern void omp_init_lock(omp_lock_t *) noexcept nogil |
| 5 |
extern void omp_destroy_lock(omp_lock_t *) noexcept nogil |
| 6 |
extern void omp_set_lock(omp_lock_t *) noexcept nogil |
| 7 |
extern void omp_unset_lock(omp_lock_t *) noexcept nogil |
| 8 |
extern int omp_test_lock(omp_lock_t *) noexcept nogil |
| 9 |
extern void omp_set_dynamic(int dynamic_threads) noexcept nogil |
| 10 |
extern void omp_set_num_threads(int num_threads) noexcept nogil |
| 11 |
extern int omp_get_num_procs() noexcept nogil |
| 12 |
extern int omp_get_max_threads() noexcept nogil |
| 13 |
cdef int have_openmp |
| 14 |
|