Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
gtsam
3rdparty
metis
GKlib
omp.c
Go to the documentation of this file.
1
/*
2
* Copyright 1997, Regents of the University of Minnesota
3
*
4
* omp.c
5
*
6
* This file contains "fake" implementations of OpenMP's runtime libraries
7
*
8
*/
9
10
#include <
GKlib.h
>
11
12
#ifdef GK_NOOPENMP
/* remove those for now */
13
#if !defined(_OPENMP)
14
void
omp_set_num_threads
(
int
num_threads) {
return
; }
15
int
omp_get_num_threads
(
void
) {
return
1; }
16
int
omp_get_max_threads
(
void
) {
return
1; }
17
int
omp_get_thread_num
(
void
) {
return
0; }
18
int
omp_get_num_procs
(
void
) {
return
1; }
19
int
omp_in_parallel
(
void
) {
return
0; }
20
void
omp_set_dynamic
(
int
num_threads) {
return
; }
21
int
omp_get_dynamic
(
void
) {
return
0; }
22
void
omp_set_nested
(
int
nested) {
return
; }
23
int
omp_get_nested
(
void
) {
return
0; }
24
#endif
25
#endif
26
27
omp_in_parallel
int omp_in_parallel(void)
omp_get_nested
int omp_get_nested(void)
omp_set_num_threads
void omp_set_num_threads(int num_threads)
omp_get_thread_num
int omp_get_thread_num(void)
omp_get_num_procs
int omp_get_num_procs(void)
GKlib.h
omp_get_max_threads
int omp_get_max_threads(void)
omp_set_nested
void omp_set_nested(int nested)
omp_set_dynamic
void omp_set_dynamic(int num_threads)
omp_get_num_threads
int omp_get_num_threads(void)
omp_get_dynamic
int omp_get_dynamic(void)
gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:02:30