aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Includes/openmp.pxd
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/cython/Cython/Includes/openmp.pxd
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/openmp.pxd')
-rw-r--r--contrib/tools/cython/Cython/Includes/openmp.pxd100
1 files changed, 50 insertions, 50 deletions
diff --git a/contrib/tools/cython/Cython/Includes/openmp.pxd b/contrib/tools/cython/Cython/Includes/openmp.pxd
index 30873a588b..32c9a53ba9 100644
--- a/contrib/tools/cython/Cython/Includes/openmp.pxd
+++ b/contrib/tools/cython/Cython/Includes/openmp.pxd
@@ -1,51 +1,51 @@
cdef extern from "<omp.h>":
- ctypedef struct omp_lock_t:
- pass
- ctypedef struct omp_nest_lock_t:
- pass
-
- ctypedef enum omp_sched_t:
- omp_sched_static = 1,
- omp_sched_dynamic = 2,
- omp_sched_guided = 3,
- omp_sched_auto = 4
-
- extern void omp_set_num_threads(int) nogil
- extern int omp_get_num_threads() nogil
- extern int omp_get_max_threads() nogil
- extern int omp_get_thread_num() nogil
- extern int omp_get_num_procs() nogil
-
- extern int omp_in_parallel() nogil
-
- extern void omp_set_dynamic(int) nogil
- extern int omp_get_dynamic() nogil
-
- extern void omp_set_nested(int) nogil
- extern int omp_get_nested() nogil
-
- extern void omp_init_lock(omp_lock_t *) nogil
- extern void omp_destroy_lock(omp_lock_t *) nogil
- extern void omp_set_lock(omp_lock_t *) nogil
- extern void omp_unset_lock(omp_lock_t *) nogil
- extern int omp_test_lock(omp_lock_t *) nogil
-
- extern void omp_init_nest_lock(omp_nest_lock_t *) nogil
- extern void omp_destroy_nest_lock(omp_nest_lock_t *) nogil
- extern void omp_set_nest_lock(omp_nest_lock_t *) nogil
- extern void omp_unset_nest_lock(omp_nest_lock_t *) nogil
- extern int omp_test_nest_lock(omp_nest_lock_t *) nogil
-
- extern double omp_get_wtime() nogil
- extern double omp_get_wtick() nogil
-
- void omp_set_schedule(omp_sched_t, int) nogil
- void omp_get_schedule(omp_sched_t *, int *) nogil
- int omp_get_thread_limit() nogil
- void omp_set_max_active_levels(int) nogil
- int omp_get_max_active_levels() nogil
- int omp_get_level() nogil
- int omp_get_ancestor_thread_num(int) nogil
- int omp_get_team_size(int) nogil
- int omp_get_active_level() nogil
-
+ ctypedef struct omp_lock_t:
+ pass
+ ctypedef struct omp_nest_lock_t:
+ pass
+
+ ctypedef enum omp_sched_t:
+ omp_sched_static = 1,
+ omp_sched_dynamic = 2,
+ omp_sched_guided = 3,
+ omp_sched_auto = 4
+
+ extern void omp_set_num_threads(int) nogil
+ extern int omp_get_num_threads() nogil
+ extern int omp_get_max_threads() nogil
+ extern int omp_get_thread_num() nogil
+ extern int omp_get_num_procs() nogil
+
+ extern int omp_in_parallel() nogil
+
+ extern void omp_set_dynamic(int) nogil
+ extern int omp_get_dynamic() nogil
+
+ extern void omp_set_nested(int) nogil
+ extern int omp_get_nested() nogil
+
+ extern void omp_init_lock(omp_lock_t *) nogil
+ extern void omp_destroy_lock(omp_lock_t *) nogil
+ extern void omp_set_lock(omp_lock_t *) nogil
+ extern void omp_unset_lock(omp_lock_t *) nogil
+ extern int omp_test_lock(omp_lock_t *) nogil
+
+ extern void omp_init_nest_lock(omp_nest_lock_t *) nogil
+ extern void omp_destroy_nest_lock(omp_nest_lock_t *) nogil
+ extern void omp_set_nest_lock(omp_nest_lock_t *) nogil
+ extern void omp_unset_nest_lock(omp_nest_lock_t *) nogil
+ extern int omp_test_nest_lock(omp_nest_lock_t *) nogil
+
+ extern double omp_get_wtime() nogil
+ extern double omp_get_wtick() nogil
+
+ void omp_set_schedule(omp_sched_t, int) nogil
+ void omp_get_schedule(omp_sched_t *, int *) nogil
+ int omp_get_thread_limit() nogil
+ void omp_set_max_active_levels(int) nogil
+ int omp_get_max_active_levels() nogil
+ int omp_get_level() nogil
+ int omp_get_ancestor_thread_num(int) nogil
+ int omp_get_team_size(int) nogil
+ int omp_get_active_level() nogil
+