LLVM OpenMP
20.0.0git
runtime
test
affinity
omp-places-invalid-syntax.c
Go to the documentation of this file.
1
// RUN: %libomp-compile
2
// RUN: env KMP_SETTINGS=1 OMP_PLACES=invalid %libomp-run 2>&1 | FileCheck --check-prefix=INVALID %s
3
// RUN: env KMP_SETTINGS=1 OMP_PLACES='sockets(' %libomp-run 2>&1 | FileCheck --check-prefix=SOCKETS %s
4
// RUN: env KMP_SETTINGS=1 OMP_PLACES='threads()' %libomp-run 2>&1 | FileCheck --check-prefix=THREADS %s
5
//
6
// INVALID-DAG: Effective settings
7
// INVALID: OMP_PLACES=
8
// INVALID-SAME: cores
9
//
10
// SOCKETS-DAG: Effective settings
11
// SOCKETS: OMP_PLACES=
12
// SOCKETS-SAME: sockets
13
//
14
// THREADS-DAG: Effective settings
15
// THREADS: OMP_PLACES=
16
// THREADS-SAME: threads
17
//
18
// REQUIRES: affinity
19
20
#include "
omp_testsuite.h
"
21
22
int
main
() {
23
go_parallel
();
24
return
get_exit_value
();
25
}
main
int main()
Definition:
omp-places-invalid-syntax.c:22
omp_testsuite.h
go_parallel
static void go_parallel()
Definition:
omp_testsuite.h:28
get_exit_value
static int get_exit_value()
Definition:
omp_testsuite.h:73
Generated on Wed Jan 29 2025 20:58:01 for LLVM OpenMP by
1.9.6