repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[TableGen][GISel] Refactor node renderers emission (#121071)
[llvm-project.git]
/
openmp
/
libompd
/
test
/
api_tests
/
test_ompd_enumerate_icvs.c
blob
2970d48ac493f02889bef8013d168ef232cb948b
1
// RUN: %gdb-compile 2>&1 | tee %t.compile
2
// RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out | FileCheck %s
3
4
#include <omp.h>
5
#include <stdio.h>
6
7
int
main
() {
8
9
omp_set_num_threads
(
2
);
10
#pragma omp parallel
11
{
printf
(
"Parallel level 1, thread num = %d.
\n
"
,
omp_get_thread_num
()); }
12
return
0
;
13
}
14
15
// CHECK-NOT: Failed
16
// CHECK-NOT: Skip