Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: third_party/cython/src/Cython/Includes/openmp.pxd

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 cdef extern from "omp.h":
2 ctypedef struct omp_lock_t:
3 pass
4 ctypedef struct omp_nest_lock_t:
5 pass
6
7 ctypedef enum omp_sched_t:
8 omp_sched_static = 1,
9 omp_sched_dynamic = 2,
10 omp_sched_guided = 3,
11 omp_sched_auto = 4
12
13 extern void omp_set_num_threads(int) nogil
14 extern int omp_get_num_threads() nogil
15 extern int omp_get_max_threads() nogil
16 extern int omp_get_thread_num() nogil
17 extern int omp_get_num_procs() nogil
18
19 extern int omp_in_parallel() nogil
20
21 extern void omp_set_dynamic(int) nogil
22 extern int omp_get_dynamic() nogil
23
24 extern void omp_set_nested(int) nogil
25 extern int omp_get_nested() nogil
26
27 extern void omp_init_lock(omp_lock_t *) nogil
28 extern void omp_destroy_lock(omp_lock_t *) nogil
29 extern void omp_set_lock(omp_lock_t *) nogil
30 extern void omp_unset_lock(omp_lock_t *) nogil
31 extern int omp_test_lock(omp_lock_t *) nogil
32
33 extern void omp_init_nest_lock(omp_nest_lock_t *) nogil
34 extern void omp_destroy_nest_lock(omp_nest_lock_t *) nogil
35 extern void omp_set_nest_lock(omp_nest_lock_t *) nogil
36 extern void omp_unset_nest_lock(omp_nest_lock_t *) nogil
37 extern int omp_test_nest_lock(omp_nest_lock_t *) nogil
38
39 extern double omp_get_wtime() nogil
40 extern double omp_get_wtick() nogil
41
42 void omp_set_schedule(omp_sched_t, int) nogil
43 void omp_get_schedule(omp_sched_t *, int *) nogil
44 int omp_get_thread_limit() nogil
45 void omp_set_max_active_levels(int) nogil
46 int omp_get_max_active_levels() nogil
47 int omp_get_level() nogil
48 int omp_get_ancestor_thread_num(int) nogil
49 int omp_get_team_size(int) nogil
50 int omp_get_active_level() nogil
51
OLDNEW
« no previous file with comments | « third_party/cython/src/Cython/Includes/numpy/math.pxd ('k') | third_party/cython/src/Cython/Includes/posix/__init__.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698