LLVM OpenMP
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
c
d
e
g
h
i
m
n
p
r
s
t
u
Functions
c
d
e
g
i
m
n
p
r
s
u
Variables
Classes
Class List
Class Index
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
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
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
Typedefs
Enumerations
Enumerator
Related Functions
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
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
i
k
l
m
n
o
p
r
t
u
Enumerations
_
b
c
d
f
k
l
n
o
s
t
Enumerator
_
a
b
c
d
e
f
k
l
n
o
p
r
s
t
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
runtime
test
env
kmp_aff_disable_hwloc.c
Go to the documentation of this file.
1
// RUN: %libomp-compile && env KMP_AFFINITY=disabled KMP_TOPOLOGY_METHOD=hwloc %libomp-run
2
// REQUIRES: hwloc
3
#include <stdio.h>
4
#include <stdlib.h>
5
6
// Test will assert() without fix
7
int
test_affinity_disabled_plus_hwloc
() {
8
#pragma omp parallel
9
{}
10
return
1;
11
}
12
13
int
main
(
int
argc,
char
**argv) {
14
int
i
,
j
;
15
int
failed
= 0;
16
17
if
(!
test_affinity_disabled_plus_hwloc
()) {
18
failed
= 1;
19
}
20
return
failed
;
21
}
test_affinity_disabled_plus_hwloc
int test_affinity_disabled_plus_hwloc()
Definition:
kmp_aff_disable_hwloc.c:7
i
#define i
Definition:
kmp_stub.cpp:87
j
int j
Definition:
omp_single_copyprivate.c:6
failed
int failed
Definition:
omp_thread_limit.c:11
main
int main()
Definition:
test-touch.c:21
Generated on Sun Jun 15 2025 06:09:32 for LLVM OpenMP by
1.9.6